]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hdac_hdmi: Increase loglevel of hex dump printed
authorVedang Patel <vedang.patel@intel.com>
Sat, 25 Jun 2016 00:37:09 +0000 (17:37 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2016 14:51:29 +0000 (15:51 +0100)
commitc563b3db5fc8b04da53c692d2768186683ce1413
treebaeada493a596a783f0251b1e68a76aeeb0dc26d
parent09b0d32249bcd30cb910d622f2f0ae4857af2772
ASoC: hdac_hdmi: Increase loglevel of hex dump printed

The hdac_hdmi codec driver prints the ELD information everytime an
external monitor is connected. Make it so that the information is only
printed when someone trying to debug the driver explicitly enables it.

print_hex_dump_bytes (which just calls print_hex_dump) uses
printk(KERN_DEBUG,... which is different from dev_dbg used elsewhere in
the driver: it's always enabled at compile-time. Change it to
print_hex_dump_debug for logging consistency.

Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c