]> Pileus Git - ~andy/linux/blobdiff - drivers/media/dvb/frontends/dibx000_common.h
[media] DiBcom: protect the I2C bufer access
[~andy/linux] / drivers / media / dvb / frontends / dibx000_common.h
index f031165c04596df1e3774db6f039c28ba543c9df..5e011474be430658b1b13d283bd2f7e11d5c2ca6 100644 (file)
@@ -33,6 +33,7 @@ struct dibx000_i2c_master {
        struct i2c_msg msg[34];
        u8 i2c_write_buffer[8];
        u8 i2c_read_buffer[2];
+       struct mutex i2c_buffer_lock;
 };
 
 extern int dibx000_init_i2c_master(struct dibx000_i2c_master *mst,