linux_old1/sound/pci/hda
Takashi Iwai 77afe0e948 ALSA: hda - Allow setting automute/automic hooks after parsing
Some codec drivers (VIA codecs and some Realtek fixups) set the
automute and automic hooks after calling
snd_hda_gen_parse_auto_config().  In the current code, the hook
pointers are referred only in snd_hda_gen_parse_auto_config() and
passed to snd_hda_jack_detect_enable_callback(), thus changing the
hook values won't change the actually called callbacks properly.

This patch fixes this bug by setting the static functions as the
primary callback functions for the jack detection, and let them
calling the appropriate hooks dynamically.

Cc: <stable@vger.kernel.org> [v3.9]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-06-03 11:33:06 +02:00
..
Kconfig Merge branch 'topic/hda-ca0132-dsp' into for-next 2013-02-07 12:34:36 +01:00
Makefile ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +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 - allow "Headphone Mic" parser flag 2013-04-11 11:59:20 +02: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 - Make the resume of digital beep setup proper 2013-03-18 12:58:48 +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 Revert "ALSA: hda - Don't set up active streams twice" 2013-05-10 13:41:37 +02:00
hda_codec.h ALSA: hda - Introduce get_delay codec PCM ops 2013-04-05 07:33:32 +02:00
hda_eld.c ALSA: hda - bug fix on return value when getting HDMI ELD info 2013-04-02 11:55:23 +02:00
hda_generic.c ALSA: hda - Allow setting automute/automic hooks after parsing 2013-06-03 11:33:06 +02:00
hda_generic.h ALSA: hda - Allow codec drivers to give own badness tables 2013-03-22 14:53:50 +01:00
hda_hwdep.c ALSA: hda - Add snd_hda_get_int_hint() helper function 2013-01-12 08:44:47 +01:00
hda_intel.c ALSA: hda - Fix system panic when DMA > 40 bits for Nvidia audio controllers 2013-05-03 11:56:18 +02:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_jack.c ALSA: hda - Handle Headphone Mic jack more generic 2013-04-11 11:59:41 +02:00
hda_jack.h ALSA: hda - Allow jack state to depend on another jack 2012-11-19 19:49:58 +01:00
hda_local.h ALSA: hda - Don't apply EAPD power filter as default 2013-03-13 18:07:05 +01:00
hda_proc.c ALSA: hda - Remove limit of widget connections 2013-02-07 20:01:08 +01:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
patch_analog.c ALSA: hda - Move beep attach/detach calls in hda_generic.c 2013-03-18 12:58:42 +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 - Update latency based on DSP state. 2013-04-05 07:34:21 +02:00
patch_cirrus.c ALSA: hda/cirrus - Add a quirk for Stumpy ChromeBox. 2013-04-05 07:35:37 +02:00
patch_cmedia.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_conexant.c ALSA: hda - Fix 3.9 regression of EAPD init on Conexant codecs 2013-05-04 10:57:16 +02:00
patch_hdmi.c ALSA: hda - Apply pin-enablement workaround to all Haswell HDMI codecs 2013-05-08 08:24:57 +02:00
patch_realtek.c ALSA: hda - Add headset quirk for two Dell machines 2013-05-31 10:45:26 +02: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 - Enable "Headset Mic" name for some Dell Latitude devices 2013-03-21 17:17:30 +01:00
patch_via.c ALSA: hda/via - Disable broken dynamic power control 2013-06-03 11:32:55 +02:00