aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/si2168_priv.h
diff options
context:
space:
mode:
authorGravatar Antti Palosaari <crope@iki.fi> 2015-05-29 16:42:33 -0300
committerGravatar Mauro Carvalho Chehab <mchehab@osg.samsung.com> 2015-06-05 06:32:05 -0300
commitd2b72f6482b9a3c57f036c11786a2489dcc81176 (patch)
tree01b954b44e46998c5a2347f365401a626bf9fe95 /drivers/media/dvb-frontends/si2168_priv.h
parent[media] DocBook: fix FE_SET_PROPERTY ioctl arguments (diff)
downloadlinux-d2b72f6482b9a3c57f036c11786a2489dcc81176.tar.gz
linux-d2b72f6482b9a3c57f036c11786a2489dcc81176.tar.bz2
linux-d2b72f6482b9a3c57f036c11786a2489dcc81176.zip
[media] si2168: Implement own I2C adapter locking
We need own I2C locking because of tuner I2C adapter/repeater. Firmware command is executed using I2C send + reply message. Default I2C adapter locking protects only single I2C operation, not whole send + reply sequence as needed. Due to that, it was possible tuner I2C message interrupts firmware command sequence. Reported-by: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Antti Palosaari <crope@iki.fi> Reviewed-by: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si2168_priv.h')
-rw-r--r--drivers/media/dvb-frontends/si2168_priv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/si2168_priv.h b/drivers/media/dvb-frontends/si2168_priv.h
index d2589e3d2ff2..90b6b6eace24 100644
--- a/drivers/media/dvb-frontends/si2168_priv.h
+++ b/drivers/media/dvb-frontends/si2168_priv.h
@@ -30,7 +30,6 @@
/* state struct */
struct si2168_dev {
struct i2c_adapter *adapter;
- struct mutex i2c_mutex;
struct dvb_frontend fe;
fe_delivery_system_t delivery_system;
fe_status_t fe_status;