android_kernel_xiaomi_sm8350/sound/pci/hda
Takashi Iwai d7a8943635 ALSA: hda - Fix IDT/STAC multiple HP detection
Due to the recent change for multiple HP as line-out switch, only
one of the multiple headphons (usually a wrong one) is toggled
and the other pins are still disabled.  This causes the silent output
problem on some Dell laptops.

Also, the hp_switch check is screwed up when a line-in or a mic-in
jack exists.  This is added as an additional output, but hp_switch
check doesn't take it into account.

This patch fixes these issues: simplify hp_switch check by using
the NID instead of bool, and clean up / fix the toggle of HP pins
in unsol event handler code.

Reference: Novell bnc#443267
	https://bugzilla.novell.com/show_bug.cgi?id=443267

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-12 10:00:56 +01:00
..
hda_beep.c ALSA: hda - use input_free_device() 2008-07-29 21:32:08 +02:00
hda_beep.h ALSA: hda: digital pc-beep support hd-audio codecs 2008-07-20 19:17:49 +02:00
hda_codec.c ALSA: hda: Add HDA vendor ID for Wolfson Microelectronics 2008-10-28 16:15:42 +01:00
hda_codec.h ALSA: hda: slave digital out support 2008-09-09 09:11:55 +02:00
hda_generic.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
hda_hwdep.c [ALSA] Replace CONFIG_SND_DEBUG_DETECT with CONFIG_SND_DEBUG_VERBOSE 2008-05-27 15:56:21 +02:00
hda_intel.c ALSA: hda - Add reboot notifier 2008-10-29 16:21:16 +01:00
hda_local.h ALSA: HDA: hda_local: Less magic numbers. 2008-09-23 08:18:01 +02:00
hda_patch.h ALSA: Support NVIDIA MCP78/7A HDMI audio 2008-10-10 13:41:35 +02:00
hda_proc.c ALSA: hda - Limit the number of GPIOs show in proc 2008-11-04 13:30:57 +01:00
Makefile ALSA: Support NVIDIA MCP78/7A HDMI audio 2008-10-10 13:41:35 +02:00
patch_analog.c ALSA: hda - Make the HP EliteBook 8530p use AD1884A model laptop 2008-11-10 17:57:14 +01:00
patch_atihdmi.c ALSA: hda - set up HDMI channels 2008-08-25 09:56:14 +02:00
patch_cmedia.c [ALSA] hda - Fix model for LG LS75 laptop 2008-05-30 16:56:00 +02:00
patch_conexant.c ALSA: hda - Fix FSC V5505 model 2008-07-14 09:00:51 +02:00
patch_nvhdmi.c ALSA: hda - Fix PCM type of Nvidia HDMI devices 2008-10-16 08:02:41 +02:00
patch_realtek.c ALSA: hda - Add a quirk for MEDION MD96630 2008-11-05 11:30:56 +01:00
patch_si3054.c
patch_sigmatel.c ALSA: hda - Fix IDT/STAC multiple HP detection 2008-11-12 10:00:56 +01:00
patch_via.c ALSA: HDA VIA: Replace buggy Mic Boost 2008-09-23 08:18:15 +02:00