Daniel Scheller b73bb2ab97 [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>
2017-04-17 17:07:57 -03:00
..
2015-08-11 07:10:04 -03:00
2016-01-25 12:01:08 -02:00
2016-11-13 10:02:22 -08:00
2017-02-27 18:43:47 -08:00
2017-02-03 07:01:00 -02:00
2016-06-07 15:41:58 -03:00
2016-03-03 09:26:05 -03:00
2015-04-08 15:02:07 -03:00
2017-02-27 18:43:47 -08:00
2016-09-22 12:55:49 -03:00
2017-03-03 08:39:48 -03:00
2017-02-27 18:43:47 -08:00