android_kernel_samsung_msm8226/sound/pci/hda
Takashi Iwai 26acaf0855 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>
2012-03-22 15:15:51 +01:00
..
hda_beep.c
hda_beep.h
hda_codec.c ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook() 2012-03-13 07:55:10 +01:00
hda_codec.h Merge branch 'fix/hda' into topic/hda 2012-03-02 09:00:33 +01:00
hda_eld.c ALSA: hda - fix printing of high HDMI sample rates 2012-03-13 18:27:09 +01:00
hda_generic.c
hda_hwdep.c
hda_intel.c ALSA: hda - Set codec to D3 forcibly even if not used 2012-03-07 11:52:50 +01:00
hda_jack.c ALSA: hda - Add codec->no_jack_detect flag 2012-02-13 12:06:09 +01:00
hda_jack.h ALSA: hda - Make is_jack_detectable() as non-inlined 2012-02-13 12:06:03 +01:00
hda_local.h ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook() 2012-03-13 07:55:10 +01:00
hda_proc.c ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs 2012-01-10 12:41:22 +01:00
hda_trace.h
Kconfig
Makefile
patch_analog.c ALSA: hda - Return the created kcontrol in __snd_hda_add_vmaster() 2012-03-12 14:52:28 +01:00
patch_ca0110.c
patch_ca0132.c ALSA: hda - Fix error handling in patch_ca0132.c 2012-02-07 11:05:07 +01:00
patch_cirrus.c ALSA: hda - Kill hyphenated names 2012-03-02 08:59:23 +01:00
patch_cmedia.c
patch_conexant.c ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook() 2012-03-13 07:55:10 +01:00
patch_hdmi.c ALSA: hda - add id for Atom Cedar Trail HDMI codec 2012-02-23 09:50:10 +01:00
patch_realtek.c ALSA: hda/realtek - Fix ADC assignment with a shared HP/Mic pin 2012-03-22 15:15:51 +01:00
patch_si3054.c
patch_sigmatel.c ALSA: hda - Fix build with CONFIG_PM=n 2012-03-16 16:15:33 +01:00
patch_via.c ALSA: hda/via - Add a few sanity checks 2012-02-22 12:36:06 +01:00