linux/sound/pci/hda
Jie Yang 9058cbe1ee ALSA: jack: implement kctl creating for jack devices
Currently the ALSA jack core registers only input devices for each jack
registered. These jack input devices are not readable by userspace devices
that run as non root. This patch series will implement kctls inside the
core jack part, including kctls creating, status changing report, for both
HD-Audio and ASoC jack. This allows non root userspace to read jack status
and act on it.

This patch adds a new API called snd_jack_add_new_kctl(), which will create
a kcontrol, add it to the card, and also attach it to the jack kctl list.

This patch also initialises the jack kctl list after jack is newed, and
reports kctl status when jack insertion/removal events occur.

snd_jack_new() is updated in the following patches to also support creating
phantom jacks and jack kcontrols. We then remove these duplicated features
from HDA jack and have jack kctls handled by core throughout HDA and ASoC.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Modified-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Jie Yang <yang.jie@intel.com>
Reveiwed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-04-27 21:37:40 +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 - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00
hda_auto_parser.h ALSA: hda - Sort input pins depending on amp caps 2014-09-23 15:57:32 +02:00
hda_beep.c ALSA: hda - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00
hda_beep.h ALSA: hda - Adjust power of beep widget and outputs 2015-03-18 09:23:10 +01:00
hda_bind.c ALSA: hda - Add regmap support 2015-03-23 13:19:36 +01:00
hda_codec.c ALSA: hda - Fix regression for slave SPDIF setups 2015-04-16 15:51:59 +02:00
hda_codec.h ALSA: hda - Work around races of power up/down with runtime PM 2015-04-08 13:50:42 +02:00
hda_controller.c ALSA: hda - Move some codes up to hdac_bus struct 2015-03-23 13:17:02 +01:00
hda_controller.h ALSA: hda - simplify azx_has_pm_runtime 2015-04-16 10:13:47 +02:00
hda_eld.c ALSA: hda - Correct kerneldoc comments 2014-10-29 15:06:54 +01:00
hda_generic.c ALSA: hda/generic - Don't override power_filter when power_save_node is set 2015-04-09 10:34:00 +02:00
hda_generic.h ALSA: hda - Fix power of pins used for mute LED with vrefs 2015-03-20 18:30:48 +01:00
hda_hwdep.c ALSA: hda - Add card field to hda_codec struct 2015-03-03 11:25:16 +01:00
hda_i915.c ALSA: hda - only sync BCLK to the display clock for Haswell & Broadwell 2015-04-20 17:27:55 +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 - add AZX_DCAPS_I915_POWERWELL to Baytrail 2015-04-21 07:58:36 +02:00
hda_intel.h ALSA: hda - Fold hda_priv.h into hda_controller.h 2015-02-19 21:41:25 +01:00
hda_jack.c ALSA: hda - Add card field to hda_codec struct 2015-03-03 11:25:16 +01:00
hda_jack.h ALSA: hda - More kerneldoc comments 2014-10-29 16:03:58 +01:00
hda_local.h ALSA: hda - Use regmap for parameter caches, too 2015-03-23 13:19:40 +01:00
hda_proc.c ALSA: hda - potential (but unlikely) uninitialized variable 2015-04-17 15:32:17 +02:00
hda_sysfs.c ALSA: hda - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00
hda_tegra.c ALSA: hda - Use shutdown driver ops instead of reboot notifier 2015-03-13 15:28:58 +01:00
Kconfig ALSA: jack: implement kctl creating for jack devices 2015-04-27 21:37:40 +02:00
local.h ALSA: hda - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00
Makefile ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00
patch_analog.c ALSA: hda - Use regmap for command verb caches, too 2015-03-23 13:19:41 +01:00
patch_ca0110.c ALSA: hda - Bind codecs via standard bus 2015-02-23 09:16:06 +01:00
patch_ca0132.c ALSA: hda - Work around races of power up/down with runtime PM 2015-04-08 13:50:42 +02:00
patch_cirrus.c Merge branch 'topic/hda-bus' into for-next 2015-03-16 14:48:16 +01:00
patch_cmedia.c ALSA: hda - Bind codecs via standard bus 2015-02-23 09:16:06 +01:00
patch_conexant.c ALSA: hda - Use regmap for command verb caches, too 2015-03-23 13:19:41 +01:00
patch_hdmi.c ALSA: hda - Work around races of power up/down with runtime PM 2015-04-08 13:50:42 +02:00
patch_realtek.c ALSA: hda - fix headset mic detection problem for one more machine 2015-04-24 07:47:08 +02:00
patch_si3054.c ALSA: hda - Use regmap for command verb caches, too 2015-03-23 13:19:41 +01:00
patch_sigmatel.c ALSA: hda - Use regmap for command verb caches, too 2015-03-23 13:19:41 +01:00
patch_via.c ALSA: hda/via - Add missing stream_pm ops setup 2015-04-09 15:23:59 +02:00
thinkpad_helper.c ALSA: hda - Move a part of hda_codec stuff into hdac_device 2015-03-23 13:17:17 +01:00