]> 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)
commitb37465543ad0342b0133dda04145752159d198d9
treededa467c56c6371c6fd49f7187307c5d75d9c866
parent84dd4a3951755fb88edeff3706d949e0c41026fa
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