]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dvb_frontend: do not allow statistic IOCTLs when sleeping
authorAntti Palosaari <crope@iki.fi>
Thu, 9 Aug 2012 22:00:51 +0000 (19:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Sep 2012 17:23:10 +0000 (14:23 -0300)
commita079fe360d1986c0c13a9f7dc21e1f5a02b86dfe
tree2667606ae2c2633df3f4d3f7b7b1a3e6d3e68439
parentbcf91bc57bb564610150b7c8eaac1f4b119a6415
[media] dvb_frontend: do not allow statistic IOCTLs when sleeping

Demodulator cannot perform statistic IOCTLs when it is not tuned.
Return -EAGAIN in such case.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-core/dvb_frontend.c