linux/sound/pci/hda
Takashi Iwai 6da8f44624 ALSA: hda/ca0132 - Optimize for non-PCI configuration
All the recent support of Creative boards and onboard audio depend on
PCI, but they can't be trimmed easily even if you build without
CONFIG_PCI, since the quirk is detected dynamically and the code has
many branches with the flag check like spec->quirk type or
spec->use_alt_functions.

This patch makes these checks static for CONFIG_PCI=n case so that the
compiler optimizes out.  The access to flags are replaced with macros
that are replaced with a static value for CONFIG_PCI=n.

The macros look slightly ugly for avoiding compiler warnings wrt
unused variables, and some additional default-case handlings for
another compiler warnings, but the rest are very straightforward
changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-11-12 09:42:39 +01:00
..
Kconfig ALSA: hda - Enforce CONFIG_SND_DYNAMIC_MINORS for HDMI/DP codec 2018-05-02 09:08:16 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01: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: update dell-wmi mic-mute registration to new world order 2018-08-15 19:08:10 -07:00
hda_auto_parser.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +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: add SPDX identifiers 2018-02-20 16:49:59 +01:00
hda_beep.h ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_bind.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_codec.c Merge branch 'asoc-4.20' into asoc-next 2018-10-21 16:59:23 +01:00
hda_controller.c ALSA: hda - Clean up jackpoll_ms option handling 2018-08-30 08:05:58 +02:00
hda_controller.h ALSA: hda: fix unused variable warning 2018-09-11 16:46:42 +02:00
hda_controller_trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hda_eld.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_generic.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_generic.h ALSA: hda - Move mic mute LED helper to the generic parser 2018-06-21 13:51:26 +02:00
hda_hwdep.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_intel.c Merge branch 'asoc-4.20' into asoc-next 2018-10-21 16:59:23 +01:00
hda_intel.h ALSA: hda - Enable runtime PM only for discrete GPU 2018-09-13 17:58:30 +02:00
hda_intel_trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hda_jack.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_jack.h ALSA: hda - Fix bad dereference of jack object 2016-02-09 12:16:31 +01:00
hda_local.h ALSA: hda - Fix runtime PM 2018-05-24 20:16:47 +02:00
hda_proc.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_sysfs.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
hda_tegra.c ALSA: Move hda_codec.h to include/sound 2018-08-30 16:55:38 +02:00
hp_x360_helper.c ALSA: hda/realtek - Fixup for HP x360 laptops with B&O speakers 2018-05-29 22:33:37 +02:00
patch_analog.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
patch_ca0110.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
patch_ca0132.c ALSA: hda/ca0132 - Optimize for non-PCI configuration 2018-11-12 09:42:39 +01:00
patch_cirrus.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
patch_cmedia.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
patch_conexant.c ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905) 2018-10-12 08:07:17 +02:00
patch_hdmi.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
patch_realtek.c Merge branch 'asoc-4.20' into asoc-next 2018-10-21 16:59:23 +01:00
patch_si3054.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
patch_sigmatel.c ALSA: hda/sigmatel - Disable automute for Elo VuPoint 2018-10-04 21:22:47 +02:00
patch_via.c ALSA: hda: move hda_codec.h to include/sound 2018-08-30 15:45:10 +01:00
thinkpad_helper.c ALSA: hda - Fix incorrect clearance of thinkpad_acpi hooks 2018-11-06 16:33:53 +01:00