TT CT-3650 i2c fix
PATCH 1/1 TT CT-3650 i2c fix
This patch fix a bug in the i2c code of ttusb2 driver.
Signed-off-by Jose Alberto Reguero <[email protected]>
Jose Alberto
drivers/media/dvb/dvb-usb/ttusb2.c +1 -1
@@ -384,7 +384,7 @@memcpy (&obuf[3 ], msg[i].buf, msg[i].len); -if (ttusb2_msg (d,CMD_I2C_XFER , obuf, msg[i].len+3 , ibuf, obuf[2 ] +3 ) <0 ) { +if (ttusb2_msg (d,CMD_I2C_XFER , obuf, obuf[1 ]+3 , ibuf, obuf[2 ] +3 ) <0 ) {err ("i2c transfer failed." );break ; }