From d2b72f6482b9a3c57f036c11786a2489dcc81176 Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Fri, 29 May 2015 16:42:33 -0300 Subject: [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 Signed-off-by: Antti Palosaari Reviewed-by: Adam Baker Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/si2168_priv.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/media/dvb-frontends/si2168_priv.h') 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; -- cgit