linux_dsm_epyc7002/sound/pci/hda
Takashi Iwai 7fe307117d ALSA: hda - Fix inconsistent Mic mute LED
The current code for controlling mic mute LED in patch_sigmatel.c
blindly assumes that there is a single capture switch.  But, there can
be multiple multiple ones, and each of them flips the state, ended up
in an inconsistent state.

For fixing this problem, this patch adds kcontrol to be passed to the
hook function so that the callee can check which switch is being
accessed.  In stac_capture_led_hook(), the state is checked as a
bitmask, and turns on the LED when all capture switches are off.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-02-07 12:13:25 +01:00
..
ca0132_regs.h ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS 2013-02-12 10:15:15 +01:00
hda_auto_parser.c ALSA: hda - Kill EXPORT_SYMBOL_HDA() 2013-12-19 14:36:19 +01:00
hda_auto_parser.h ALSA: hda - add some small convenience functions to auto parser 2013-04-11 11:59:27 +02:00
hda_beep.c ALSA: hda - Kill EXPORT_SYMBOL_HDA() 2013-12-19 14:36:19 +01:00
hda_beep.h ALSA: hda - Fix power-saving during playing beep sound 2013-03-18 12:58:47 +01:00
hda_codec.c ALSA: hda - Fix leftover ifdef checks after modularization 2014-02-07 12:13:25 +01:00
hda_codec.h ALSA: hda - Add parameter for dumping processing coefficients 2014-01-29 16:39:13 +01:00
hda_eld.c ALSA: hda - hdmi: Fix wrong baseline length in ATI/AMD generated ELD 2013-11-11 17:08:39 +01:00
hda_generic.c ALSA: hda - Fix inconsistent Mic mute LED 2014-02-07 12:13:25 +01:00
hda_generic.h ALSA: hda - Fix inconsistent Mic mute LED 2014-02-07 12:13:25 +01:00
hda_hwdep.c ALSA: hda - Add consistent tag names for firmware patch 2014-01-08 09:59:23 +01:00
hda_i915.c ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
hda_i915.h ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_intel.c ALSA: hda - Fix leftover ifdef checks after modularization 2014-02-07 12:13:25 +01:00
hda_jack.c ALSA: hda - Kill EXPORT_SYMBOL_HDA() 2013-12-19 14:36:19 +01:00
hda_jack.h ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_local.h ALSA: hda - Bind with HDMI codec parser automatically 2013-11-26 13:42:38 +01:00
hda_proc.c ALSA: hda - Add parameter for dumping processing coefficients 2014-01-29 16:39:13 +01:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
Kconfig ALSA: hda - Add warning texts when codec driver Kconfig doesn't match 2013-12-19 15:09:14 +01:00
Makefile ALSA: hda - Make CONFIG_SND_HDA_CODEC_* tristate 2013-12-19 14:36:11 +01:00
patch_analog.c ALSA: hda - Improve loopback path lookups for AD1983 2014-02-05 08:49:41 +01:00
patch_ca0110.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_ca0132.c ALSA: hda/ca0132: Staticize codec_send_command 2013-09-13 14:36:32 +02:00
patch_cirrus.c ALSA: hda - Control SPDIF out pin on MacBookPro 11,2 2013-11-11 16:22:04 +01:00
patch_cmedia.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_conexant.c ALSA: hda - Fix inconsistent Mic mute LED 2014-02-07 12:13:25 +01:00
patch_hdmi.c ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled 2014-01-31 17:57:02 +01:00
patch_realtek.c ALSA: hda - Fix inconsistent Mic mute LED 2014-02-07 12:13:25 +01:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - Fix inconsistent Mic mute LED 2014-02-07 12:13:25 +01:00
patch_via.c ALSA: hda - Enable stereo mix as default for AD and VIA codecs 2013-12-09 16:02:24 +01:00
thinkpad_helper.c ALSA: hda - Fix inconsistent Mic mute LED 2014-02-07 12:13:25 +01:00