[media] rtl2830: prevent .read_status() when sleeping
authorAntti Palosaari <crope@iki.fi>
Sun, 22 Jan 2012 01:40:58 +0000 (22:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Feb 2012 21:44:25 +0000 (18:44 -0300)
commita8567cf22e0efb9faafa6cf33b607ca5aee3c2fa
tree158208995684ed035053db50970530b3f8c47299
parent9935eea5ac300b84036192af1bd98940a64650de
[media] rtl2830: prevent .read_status() when sleeping

Hardware is not accessible when device is sleeping.
Preventing such IOCTLs when sleep should be job of DVB CORE...

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/rtl28xxu.c
drivers/media/dvb/frontends/rtl2830.c
drivers/media/dvb/frontends/rtl2830_priv.h