]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: snd-opti9xx: fixes for MED3931 card (opti931)
authorOndrej Zary <linux@rainbow-software.org>
Fri, 15 Jun 2012 18:55:54 +0000 (20:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jun 2012 07:39:38 +0000 (09:39 +0200)
commit73207733e2c6c5b631e121d50fe3044a33c8a420
treededa467c56c6371c6fd49f7187307c5d75d9c866
parent48f4f5224480f0ddd6fe28b7857966d7156552b4
ALSA: snd-opti9xx: fixes for MED3931 card (opti931)

MED3931 card did not work (failed with "OPTI chip not found") because
snd-opti9xx gets mc_indir_index from pnp by adding 2 to the pnp-reported port.
It probably works for some cards but not for this one. Datasheet says that
the port is always at 0xe?e so just force the lowest nibble to be 0xe.

Also this card powers up with (ugly) 3D sound enabled. As there's no mixer
control for this, just disable it.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opti9xx/opti92x-ad1848.c