ALSA: hda - hide HDMI/ELD printks unless snd.debug=2
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 10 Apr 2012 09:00:35 +0000 (17:00 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Apr 2012 12:53:55 +0000 (14:53 +0200)
commitfae3d88a5c56c3f836e95c4516da883a48612437
treeeb08d977ab3da42c466062ba237e05b4e4a1ae5f
parent38be95dd3d314bd393a26f6e441ae2c57ef7f064
ALSA: hda - hide HDMI/ELD printks unless snd.debug=2

Also remove two warnings when CONFIG_SND_DEBUG is not set:

sound/pci/hda/patch_hdmi.c: In function ‘hdmi_intrinsic_event’:
sound/pci/hda/patch_hdmi.c:761:6: warning: unused variable ‘eldv’ [-Wunused-variable]
sound/pci/hda/patch_hdmi.c:760:6: warning: unused variable ‘pd’ [-Wunused-variable]

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/pci/hda/hda_eld.c
sound/pci/hda/patch_hdmi.c