summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-03-15 01:22:37 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-17 23:07:57 +0300
commitb73bb2ab97eb7840d0f4fc285936024100f59a6d (patch)
tree1c147e475b0b285c4aef90de75176be0a188d92a /Kbuild
parent0c4089f80cb34329b5393825926308ba333abc67 (diff)
downloadlinux-b73bb2ab97eb7840d0f4fc285936024100f59a6d.tar.xz
[media] dvb-frontends/drxk: don't log errors on unsupported operation mode
When fe_ops.read_status is called and no channel is tuned (yet), the subsequent calls to get_lock_status() causes the kernel log to be filled with drxk: Error -22 on get_lock_status which either means a NULL pointer was passed for the p_lock_status var, or neither QAM nor OFDM/DVBT operation mode are active. Instead of filling the kernel log in the latter case, print out a message to the debug level and return 0 (this isn't used in the calling drxk_get_stats() anyway). Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions