[media] tda10071: do not get_frontend() when not ready
authorAntti Palosaari <crope@iki.fi>
Tue, 21 Apr 2015 14:16:44 +0000 (11:16 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 10:33:32 +0000 (07:33 -0300)
commit4c4acb7a7e81e41901825ca2afb064ada672b39c
treed666efe128f9a25d3b3aaf3897d0f3cf03caf1f2
parente14432a5b7302c1f5c6c094de176ae111697bbab
[media] tda10071: do not get_frontend() when not ready

This is a bit hack, but returning error when driver is not tuned yet
causes DVBv5 zap stop polling DVBv5 statistics. Thus return 0 even
callback is called during invalid device state.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/tda10071.c