linux/sound/pci/hda
Takashi Iwai 86b2723725 ALSA: Make snd_printd() and snd_printdd() inline
Because currently snd_printd() and snd_printdd() macros are expanded
to empty when CONFIG_SND_DEBUG=n, a compile warning like below
appears sometimes, and we had to covert it by ugly ifdefs:
  sound/pci/hda/patch_sigmatel.c: In function ‘stac92hd71bxx_fixup_hp’:
  sound/pci/hda/patch_sigmatel.c:2434:24: warning: unused variable ‘spec’ [-Wunused-variable]

For "fixing" these issues better, this patch replaces snd_printd() and
snd_printdd() definitions with empty inline functions instead of
macros.  This should have the same effect but shut up warnings like
above.

But since we had already put ifdefs, changing to inline functions
would trigger compile errors.  So, such ifdefs is removed in this
patch.

In addition, snd_pci_quirk name field is defined only when
CONFIG_SND_DEBUG_VERBOSE is set, and the reference to it in
snd_printdd() argument triggers the build errors, too.  For avoiding
these errors, introduce a new macro snd_pci_quirk_name() that is
defined no matter how the debug option is set.

Reported-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-01-25 18:32:14 +01:00
..
hda_auto_parser.c ALSA: Make snd_printd() and snd_printdd() inline 2013-01-25 18:32:14 +01:00
hda_auto_parser.h ALSA: hda - Rearrange INPUT_PIN_ATTR_* 2013-01-12 08:30:48 +01:00
hda_beep.c ALSA: hda - Fix 'Beep Playback Switch' with no underlying mute switch 2012-08-14 10:22:31 +02:00
hda_beep.h ALSA: hda - Get rid of superfluous beep->mode field 2012-07-03 18:31:36 +02:00
hda_codec.c ALSA: hda - Add snd_hda_check_power_state() helper function 2013-01-24 17:47:17 +01:00
hda_codec.h ALSA: hda - Add power state filtering 2013-01-24 17:23:35 +01:00
hda_eld.c ALSA: hda - hide HDMI/ELD printks unless snd.debug=2 2012-04-10 14:53:55 +02:00
hda_generic.c ALSA: Make snd_printd() and snd_printdd() inline 2013-01-25 18:32:14 +01:00
hda_generic.h ALSA: hda - Implement path-based power filter to the generic parser 2013-01-24 17:55:52 +01:00
hda_hwdep.c ALSA: hda - Add snd_hda_get_int_hint() helper function 2013-01-12 08:44:47 +01: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 Merge branch 'topic/hda-gen-parser' into for-next 2013-01-23 08:34:12 +01:00
hda_jack.c ALSA: hda - Allow jack detection when polling is enabled 2013-01-12 08:43:54 +01:00
hda_jack.h ALSA: hda - Allow jack state to depend on another jack 2012-11-19 19:49:58 +01:00
hda_local.h ALSA: hda - Add snd_hda_check_power_state() helper function 2013-01-24 17:47:17 +01:00
hda_proc.c Merge branch 'topic/hda-gen-parser' into for-next 2013-01-23 08:34:12 +01:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
Kconfig ALSA: hda - Use generic parser for STAC/IDT codec driver 2013-01-17 17:46:13 +01:00
Makefile ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
patch_analog.c ALSA: hda - Fix missing path between aamix and outputs in AD codecs 2013-01-23 17:00:31 +01:00
patch_ca0110.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_ca0132.c ALSA: hda - don't create dysfunctional mixer controls for ca0132 2012-08-20 11:33:23 +02:00
patch_cirrus.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_cmedia.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_conexant.c ALSA: hda - Add power state filtering 2013-01-24 17:23:35 +01:00
patch_hdmi.c ALSA: hda/hdmi - Work around "alsactl restore" errors 2013-01-15 14:55:16 +01:00
patch_realtek.c ALSA: hda - Add auto-mute support to PB desktop 2013-01-23 18:25:11 +01:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - Enable power down of unused widgets for IDT codecs 2013-01-24 18:02:43 +01:00
patch_via.c ALSA: hda - Add snd_hda_check_power_state() helper function 2013-01-24 17:47:17 +01:00