summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2832.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-02-08 07:50:04 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-05 19:41:18 +0100
commit92d20d9fd13a2616294dc804ba3bb78312b84850 (patch)
treec61bb8666a9dca9c0571d608b3cc947d3b5116ea /drivers/media/dvb-frontends/rtl2832.h
parent[media] rtl2832: Fix deadlock on i2c mux select function (diff)
downloadlinux-92d20d9fd13a2616294dc804ba3bb78312b84850.tar.xz
linux-92d20d9fd13a2616294dc804ba3bb78312b84850.zip
[media] rtl2832: implement delayed I2C gate close
Delay possible I2C gate close a little bit in order to see if there is next message coming to tuner in a sequence. Also, export private muxed I2C adapter. That is aimed only for SDR extension module as SDR belongs to same RTL2832 physical I2C bus (it is physically property of RTL2832, whilst it is own kernel module). Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2832.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.h b/drivers/media/dvb-frontends/rtl2832.h
index a9202d72a8aa..cb3b6b0775b8 100644
--- a/drivers/media/dvb-frontends/rtl2832.h
+++ b/drivers/media/dvb-frontends/rtl2832.h
@@ -60,6 +60,10 @@ extern struct i2c_adapter *rtl2832_get_i2c_adapter(
struct dvb_frontend *fe
);
+extern struct i2c_adapter *rtl2832_get_private_i2c_adapter(
+ struct dvb_frontend *fe
+);
+
#else
static inline struct dvb_frontend *rtl2832_attach(
@@ -77,6 +81,14 @@ static inline struct i2c_adapter *rtl2832_get_i2c_adapter(
{
return NULL;
}
+
+static inline struct i2c_adapter *rtl2832_get_private_i2c_adapter(
+ struct dvb_frontend *fe
+)
+{
+ return NULL;
+}
+
#endif