linux-stable/sound/pci/hda
Takashi Iwai fe0d128c57 ALSA: jack: Allow building the jack layer without input device
Since the recent integration of kctl jack and input jack layers, we
can basically build the jack layer even without input devices.  That
is, the jack layer itself can be built with conditional to enable the
input device support or not, while the users may enable always
CONFIG_SND_JACK unconditionally.

For achieving it, this patch changes the following:
- A new Kconfig, CONFIG_SND_JACK_INPUT_DEV, was introduced to indicate
  whether the jack layer supports the input device,
- A few items in snd_jack struct and relevant codes are conditionally
  built upon CONFIG_SND_JACK_INPUT_DEV,
- The users of CONFIG_SND_JACK drop the messy dependency on
  CONFIG_INPUT.

This change also automagically fixes a potential bug in HD-audio
driver Arnd reported, where the NULL or uninitialized jack instance is
dereferenced.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-02-23 09:03:07 +01:00
..
ca0132_regs.h
dell_wmi_helper.c
hda_auto_parser.c
hda_auto_parser.h
hda_beep.c
hda_beep.h
hda_bind.c ALSA: hda - Fix missing module loading with model=generic option 2016-01-20 15:56:42 +01:00
hda_codec.c ASoC: Updates for v4.4 2015-10-26 12:14:49 +01:00
hda_codec.h Merge branch 'topic/hda-modalias' into for-next 2015-10-20 10:19:40 +02:00
hda_controller.c ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers 2015-12-17 12:47:10 +01:00
hda_controller.h ALSA: hda - Drop unused AZX_DCAPS_REVERSE_ASSIGN 2015-12-17 12:47:18 +01:00
hda_controller_trace.h
hda_eld.c ALSA: hda - Do zero-clear in snd_hdmi_parse_eld() itself 2015-12-04 15:06:45 +01:00
hda_generic.c ALSA: hda - Fix bad dereference of jack object 2016-02-09 12:16:31 +01:00
hda_generic.h ALSA: hda - Make snd_hda_parse_nid_path() local 2015-12-08 11:48:39 +01:00
hda_hwdep.c
hda_intel.c ALSA: hda - disable dynamic clock gating on Broxton before reset 2016-01-29 14:00:41 +01:00
hda_intel.h
hda_intel_trace.h
hda_jack.c ALSA: hda - Fix bad dereference of jack object 2016-02-09 12:16:31 +01:00
hda_jack.h ALSA: hda - Fix bad dereference of jack object 2016-02-09 12:16:31 +01:00
hda_local.h
hda_proc.c
hda_sysfs.c
hda_tegra.c ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers 2015-12-17 12:47:10 +01:00
Kconfig ALSA: jack: Allow building the jack layer without input device 2016-02-23 09:03:07 +01:00
local.h
Makefile
patch_analog.c
patch_ca0110.c
patch_ca0132.c ALSA: hda - Fix bad dereference of jack object 2016-02-09 12:16:31 +01:00
patch_cirrus.c ALSA: hda - Add fixup for Mac Mini 7,1 model 2016-02-03 12:32:51 +01:00
patch_cmedia.c
patch_conexant.c Merge branch 'for-linus' into for-next 2015-12-03 17:36:02 +01:00
patch_hdmi.c ALSA: hda - hdmi get jack from hda_jack_tbl when not dyn_pcm_assign 2016-02-19 09:06:39 +01:00
patch_realtek.c ALSA: hda - Fix bad dereference of jack object 2016-02-09 12:16:31 +01:00
patch_si3054.c
patch_sigmatel.c ALSA: hda - Fix bad dereference of jack object 2016-02-09 12:16:31 +01:00
patch_via.c
thinkpad_helper.c ALSA: hda - Use acpi_dev_present() 2016-02-21 09:16:00 +01:00