diff options
author | Randy Cushman <rcushman_linux@earthlink.net> | 2006-12-19 17:42:16 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 08:02:43 (GMT) |
commit | 831466f4ad2b5fe23dff77edbe6a7c244435e973 (patch) | |
tree | c6ca59c6390484573f855d4efad5a6165a4ae5c0 /sound/soc/codecs/wm8750.c | |
parent | 4bb09523de50dcf1afc5d3099b9da0381f01b04c (diff) | |
download | linux-fsl-qoriq-831466f4ad2b5fe23dff77edbe6a7c244435e973.tar.xz |
[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>
Diffstat (limited to 'sound/soc/codecs/wm8750.c')
0 files changed, 0 insertions, 0 deletions