android_kernel_oneplus_msm8998/sound/pci/hda
Takashi Iwai 4281754e6b ALSA: hda - Use IS_REACHABLE() for dependency on input
[ Upstream commit c469652bb5e8fb715db7d152f46d33b3740c9b87 ]

The commit ffcd28d88e ("ALSA: hda - Select INPUT for Realtek
HD-audio codec") introduced the reverse-selection of CONFIG_INPUT for
Realtek codec in order to avoid the mess with dependency between
built-in and modules.  Later on, we obtained IS_REACHABLE() macro
exactly for this kind of problems, and now we can remove th INPUT
selection in Kconfig and put IS_REACHABLE(INPUT) to the appropriate
places in the code, so that the driver doesn't need to select other
subsystem forcibly.

Fixes: ffcd28d88e ("ALSA: hda - Select INPUT for Realtek HD-audio codec")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # and build-tested
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:48:52 +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 - Fix a failure of micmute led when having multi adcs 2016-10-28 03:01:30 -04:00
hda_auto_parser.c ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq 2017-01-06 11:16:09 +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-beep: Update authors dead email address 2015-06-13 09:13:26 +02:00
hda_beep.h ALSA: hda-beep: Update authors dead email address 2015-06-20 09:24:40 +02:00
hda_bind.c ALSA: hda - Fix missing module loading with model=generic option 2016-01-31 11:28:57 -08:00
hda_codec.c ALSA: hda: Remove superfluous '-' added by printk conversion 2017-10-27 10:23:16 +02:00
hda_codec.h ALSA: hda - Fix endless loop of codec configure 2017-07-05 14:37:15 +02:00
hda_controller.c ALSA: hda - Fix endless loop of codec configure 2017-07-05 14:37:15 +02:00
hda_controller.h ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers 2016-11-10 16:36:32 +01:00
hda_controller_trace.h ALSA: hda - rename hda_intel_trace.h to hda_controller_trace.h 2015-05-18 10:06:32 +02:00
hda_eld.c ALSA: hda/eld - Add const to possible places 2015-08-17 15:12:14 +02:00
hda_generic.c ALSA: hda - set input_path bitmap to zero after moving it to new place 2017-07-05 14:37:15 +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: Hardening for potential Spectre v1 2018-05-02 07:53:41 -07:00
hda_intel.c ALSA: hda: Add Lenovo C50 All in one to the power_save blacklist 2018-05-26 08:48:52 +02:00
hda_intel.h ALSA: hda - Spell vga_switcheroo consistently 2015-10-19 11:00:45 +02:00
hda_intel_trace.h ALSA: hda - add hda_intel_trace.h 2015-05-18 10:06:44 +02:00
hda_jack.c ALSA: hda - Fix bad dereference of jack object 2016-02-17 12:31:00 -08:00
hda_jack.h ALSA: hda - Fix bad dereference of jack object 2016-02-17 12:31:00 -08:00
hda_local.h ALSA: hda: make use of core codec fns 2015-10-08 19:09:36 +02:00
hda_proc.c ALSA: hda/proc - Fix racy string access for power states 2015-08-17 15:12:04 +02:00
hda_sysfs.c ALSA: hda - Fix broken reconfig 2016-05-18 17:06:46 -07:00
hda_tegra.c ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers 2016-11-10 16:36:32 +01:00
Kconfig ALSA: hda - Use IS_REACHABLE() for dependency on input 2018-05-30 07:48:52 +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: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS 2015-05-27 21:25:19 +02:00
patch_analog.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_ca0110.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_ca0132.c ALSA: hda/ca0132 - fix possible NULL pointer use 2018-02-25 11:03:43 +01:00
patch_cirrus.c ALSA: hda - Apply the existing quirk to iMac 14,1 2018-01-23 19:50:14 +01:00
patch_cmedia.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_conexant.c ALSA: hda: add dock and led support for HP ProBook 640 G2 2018-03-18 11:17:50 +01:00
patch_hdmi.c ALSA: hda - add codec support for Kabylake display audio codec 2016-09-15 08:27:45 +02:00
patch_realtek.c ALSA: hda - Use IS_REACHABLE() for dependency on input 2018-05-30 07:48:52 +02:00
patch_si3054.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_sigmatel.c ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430 2017-06-07 12:06:01 +02:00
patch_via.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
thinkpad_helper.c ALSA: hda - Fix a failure of micmute led when having multi adcs 2016-10-28 03:01:30 -04:00