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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 14:04:42 +0000 (19:04 +0530)
commit6bda46c03291c776126b3a896edd6faab78641d4
tree54447e5c401d485d0efd3d72e1eb8074fd680634
parentfd35fdc85035b5c3fadc372de07af2792548e6f4
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