diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2009-11-27 18:18:33 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-03 18:25:40 +0100 |
commit | fb716c0b7bed36064cd41d800c8f339f41adf084 (patch) | |
tree | ad315acbdd00444bfd9d44f1c4545d855ff44bb2 /sound/isa | |
parent | 1233faa891451dee9eaddd7f8a616ba1ddd77919 (diff) | |
download | op-kernel-dev-fb716c0b7bed36064cd41d800c8f339f41adf084.zip op-kernel-dev-fb716c0b7bed36064cd41d800c8f339f41adf084.tar.gz |
snd-fm801: autodetect SF64-PCR (tuner-only) card
When primary AC97 is not found, don't fail with tons of AC97 errors.
Assume that the card is SF64-PCR (tuner-only).
This makes the SF64-PCR radio card work "out of the box".
Also fixes a bug that can cause an oops here:
if (tea575x_tuner > 0 && (tea575x_tuner & 0x000f) < 4) {
when tea575x_tuner == 16, it passes this check and causes problems
a couple lines below:
chip->tea.ops = &snd_fm801_tea_ops[(tea575x_tuner & 0x000f) - 1];
Tested with SF64-PCR, but I don't have any of those sound or sound+radio cards
to test if I didn't break anything.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions