[media] dvb-frontends/stv0367: print CPAMP status only if stv_debug is enabled
authorDaniel Scheller <d.scheller@gmx.net>
Wed, 29 Mar 2017 16:43:02 +0000 (13:43 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 12:18:43 +0000 (09:18 -0300)
commitdf5a38e9131c2fbe46ef95d536d35191b774d433
tree2e10c8a598dbc6ab7005e86702b0505408dd280a
parentf61c2991e6ee6753be35193aa46ed6fd4a77dc25
[media] dvb-frontends/stv0367: print CPAMP status only if stv_debug is enabled

The CPAMP log lines generated in stv0367_ter_check_cpamp() are printed
everytime tuning succeeds or fails, quite cluttering the normal kernel log.
Use dprintk() instead of printk(KERN_ERR...) so that if the information is
needed, it'll be printed when the stv_debug modparam is enabled.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv0367.c