diff options
author | Antti Palosaari <crope@iki.fi> | 2012-01-22 05:40:58 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-02-29 01:44:25 +0400 |
commit | a8567cf22e0efb9faafa6cf33b607ca5aee3c2fa (patch) | |
tree | 158208995684ed035053db50970530b3f8c47299 /drivers/media/dvb/frontends/rtl2830_priv.h | |
parent | 9935eea5ac300b84036192af1bd98940a64650de (diff) | |
download | linux-a8567cf22e0efb9faafa6cf33b607ca5aee3c2fa.tar.xz |
[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>
Diffstat (limited to 'drivers/media/dvb/frontends/rtl2830_priv.h')
-rw-r--r-- | drivers/media/dvb/frontends/rtl2830_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/rtl2830_priv.h b/drivers/media/dvb/frontends/rtl2830_priv.h index 49de01dd5e83..4a464761b5b8 100644 --- a/drivers/media/dvb/frontends/rtl2830_priv.h +++ b/drivers/media/dvb/frontends/rtl2830_priv.h @@ -43,6 +43,8 @@ struct rtl2830_priv { struct rtl2830_config cfg; struct i2c_adapter tuner_i2c_adapter; + bool sleeping; + u8 page; /* active register page */ }; |