2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/sound/pci/hda
Takashi Iwai 2faa3bf15b ALSA: hda - Rewrite the mute-LED hook with vmaster hook in patch_sigmatel.c
The mute-LED is controlled in patch_sigmatel.c by (ab-)using the
powersave hook.  This can be now rewritten with the vmaster hook
instead, which is much simpler and can work even without
CONFIG_SND_HDA_POWER_SAVE kconfig.

A drawback is that the mute-LED corresponds _only_ to the Master mixer
switch instead of checking the whole DACs.  But usually this shouldn't
be a big problem as PA enables the mixer elements accordingly.

Also, this patch changes the code to create vmaster always even on
STAC9200 and STAC925x.  The former "Master" on these chips are renamed
as "PCM" now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-03-12 14:52:42 +01:00
..
hda_beep.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_beep.h ALSA: hda - Fix missing static inline to beep dummy function 2011-06-14 08:14:32 +02:00
hda_codec.c ALSA: hda - Return the created kcontrol in __snd_hda_add_vmaster() 2012-03-12 14:52:28 +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 - fail ELD reading early 2011-11-22 12:09:45 +01:00
hda_generic.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_hwdep.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
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 - Return the created kcontrol in __snd_hda_add_vmaster() 2012-03-12 14:52:28 +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 ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
Kconfig ALSA: Introduce common helper functions for jack-detection control 2011-11-16 11:14:03 +01:00
Makefile ALSA: hda - Cache the jack-detection value 2011-11-16 11:11:15 +01:00
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 ALSA: hda - Give more unique names by snd_hda_get_pin_label() 2011-11-16 15:48:23 +01:00
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 sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_conexant.c Merge branch 'fix/hda' into topic/hda 2012-03-02 09:00:33 +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 - Reuse init_hook for ALC269VB coef setup 2012-03-07 09:07:04 +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 - Rewrite the mute-LED hook with vmaster hook in patch_sigmatel.c 2012-03-12 14:52:42 +01:00
patch_via.c ALSA: hda/via - Add a few sanity checks 2012-02-22 12:36:06 +01:00