summaryrefslogtreecommitdiff
path: root/sound/pci/asihpi/hpi_internal.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-03-22 14:36:50 +0100
committerTakashi Iwai <tiwai@suse.de>2012-03-22 15:15:51 +0100
commit26acaf08556a3c64ebf8ea3654b51e6acbb0a26c (patch)
tree03409c36091ab872c348d92b0721ff2c96a648a7 /sound/pci/asihpi/hpi_internal.h
parent6681bc0deba495fad0d6fb349e40524abd1b1732 (diff)
ALSA: hda/realtek - Fix ADC assignment with a shared HP/Mic pin
The recent Realtek driver tries to assign an extra input via the headphone plug when only a single input source is found. The code worked on Samsung Q1, but it broke ASUS 1015 where the mic is a digital-mic and only a specific ADC works. This patch fixes the assignment of ADC in the shared mic/hp case. Instead of assuming the single ADC at first, reduce the ADCs after trying to assign both mic and HP pins. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42973 Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpi_internal.h')
0 files changed, 0 insertions, 0 deletions