linux-hardened/sound
Randy Cushman 831466f4ad [ALSA] ac97 - fix microphone and line_in selection logic
This patch fixes the Microphone and LINE_IN select logic for
Analog Devices surround codecs with shared jacks.  The existing
code can never utilize the shared jacks for Microphone and LINE_IN
due to the reversed jack selection logic.  The patched code
correctly selects the shared jack for input if the 'Channel Mode'
selector does not specify that the jack is to be used for output.
Specifically, in '2ch' mode the Center/LFE jack is used for
microphone input and the Surround jack is used for LINE_IN,
in '4ch' mode the Center/LFE jack is used for microphone input
and the Surround jack is used for output, and in '6ch' mode
both jacks are used for output.

Signed-off-by: Randy Cushman <rcushman_linux@earthlink.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-02-09 09:02:43 +01:00
..
aoa [ALSA] snd-aoa: fix onyx resume 2007-02-09 09:02:33 +01:00
arm [ALSA] arm header fix 2007-02-09 09:02:22 +01:00
core [ALSA] Add PCI quirk list helper function 2007-02-09 09:01:48 +01:00
drivers [ALSA] Clean up serial-u16500.c 2007-02-09 09:01:58 +01:00
i2c [ALSA] ak4114 - Use global workqueue 2007-02-09 09:02:41 +01:00
isa [ALSA] wavefront: add request_firmware() 2007-02-09 09:01:16 +01:00
mips IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
oss [PATCH] more work_struct fixes: tas300x sound drivers 2006-12-17 19:07:21 -08:00
parisc IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pci [ALSA] ac97 - fix microphone and line_in selection logic 2007-02-09 09:02:43 +01:00
pcmcia [PATCH] pcmcia: conf.ConfigBase and conf.Present consolidation 2006-12-04 20:12:02 -05:00
ppc WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
soc [ALSA] soc - Use global workqueue 2007-02-09 09:02:42 +01:00
sparc [ALSA] sparc dbri comment fix 2007-02-09 09:02:37 +01:00
synth [ALSA] Fix disconnection of proc interface 2006-09-23 10:36:48 +02:00
usb [ALSA] usb-audio: allow pausing 2007-02-09 09:00:02 +01:00
ac97_bus.c [PATCH] remove config ordering/dependency between ucb1400-ts and sound subsystem 2006-12-12 10:43:21 -08:00
Kconfig [ALSA] ASoC: Build files 2007-02-09 09:00:19 +01:00
last.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [ALSA] ASoC: Build files 2007-02-09 09:00:19 +01:00
sound_core.c Driver core: convert sound core to use struct device 2006-12-01 14:52:01 -08:00
sound_firmware.c [PATCH] struct path: convert sound 2006-12-08 08:28:49 -08:00