linux-sg2042/sound/pci/hda
Takashi Iwai 1a4f69d5aa ALSA: hda - Allow multiple callbacks for jack
So far, hda_jack infrastructure allows only one callback per jack, and
this makes things slightly complicated when a driver wants to assign
multiple tasks to a jack, e.g. the standard auto-mute with a power
up/down sequence.  This can be simplified if the hda_jack accepts
multiple callbacks.

This patch is such an extension: the callback-specific part (the
function and private_data) is split to another struct from
hda_jack_tbl, and multiple such objects can be assigned to a single
hda_jack_tbl entry.

The new struct hda_jack_callback is passed to each callback function
now, thus the patch became bigger than expected.  But these changes
are mostly trivial.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-09-16 17:23:44 +02:00
..
Kconfig ALSA: hda - Add driver for Tegra SoC HDA 2014-05-20 09:38:38 +02:00
Makefile ALSA: hda - Add driver for Tegra SoC HDA 2014-05-20 09:38:38 +02:00
ca0132_regs.h ALSA: hda: ca0132_regs.h: Fix typo in include guard 2014-08-22 11:24:11 +02:00
dell_wmi_helper.c ALSA: hda - add mic mute led hook for dell machines 2014-07-31 09:21:42 +02:00
hda_auto_parser.c ALSA: hda - Refactor quirk picking and change quirk priority 2014-07-22 14:26:50 +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 - Fix registration of beep input device 2014-02-28 14:02:21 +01:00
hda_beep.h ALSA: hda - Fix registration of beep input device 2014-02-28 14:02:21 +01:00
hda_codec.c ALSA: hda - Remove obsoleted snd_hda_check_board_config() & co 2014-08-19 08:04:28 +02:00
hda_codec.h ALSA: hda - Remove obsoleted EXPORT_SYMBOL_HDA() macro 2014-08-19 08:04:29 +02:00
hda_controller.c Merge branch 'for-linus' into for-next 2014-07-15 15:28:43 +02:00
hda_controller.h ALSA: hda - Use common reboot notifier 2014-06-26 18:00:01 +02:00
hda_eld.c ALSA: hda - Kill snd_printd*() in HDMI debug / info prints 2014-06-25 14:51:23 +02:00
hda_generic.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
hda_generic.h ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
hda_hwdep.c ALSA: hda - Add sysfs to codec object, too 2014-02-25 12:12:54 +01:00
hda_i915.c Merge branch 'for-linus' into for-next 2014-07-04 07:48:57 +02:00
hda_i915.h ALSA: hda - restore BCLK M/N value as per CDCLK for HSW/BDW display HDA controller 2014-07-04 07:47:22 +02:00
hda_intel.c ALSA: hda - Fix probing and stuttering on CMI8888 HD-audio controller 2014-08-07 10:11:26 +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 - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
hda_jack.h ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
hda_local.h ALSA: hda - Remove obsoleted snd_hda_check_board_config() & co 2014-08-19 08:04:28 +02:00
hda_priv.h Merge branch 'for-linus' into for-next 2014-07-15 15:28:43 +02:00
hda_proc.c ALSA: hda - Add parameter for dumping processing coefficients 2014-01-29 16:39:13 +01:00
hda_sysfs.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
hda_tegra.c Merge branch 'for-linus' into for-next 2014-07-15 15:28:43 +02: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/analog - Fix silent output on ASUS A8JN 2014-05-30 12:07:12 +02:00
patch_ca0110.c ALSA: hda - Remove superfluous inclusion of linux/pci.h 2014-02-15 10:12:12 +01:00
patch_ca0132.c ALSA: hda - Get rid of action field from struct hda_jack_tbl 2014-09-11 14:14:21 +02:00
patch_cirrus.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
patch_cmedia.c ALSA: hda - Fix parsing of CMI8888 codec 2014-08-07 10:11:29 +02:00
patch_conexant.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
patch_hdmi.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
patch_realtek.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
patch_si3054.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00
patch_sigmatel.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
patch_via.c ALSA: hda - Allow multiple callbacks for jack 2014-09-16 17:23:44 +02:00
thinkpad_helper.c ALSA: hda - Replace with standard printk 2014-02-25 12:27:32 +01:00