[media] Fix typo in comments
Expression ((7bit i2c_addr << 1) & 0x01) can not be right because it is always 0 Signed-off-by: Raimonds Cicans <ray@apollo.lv> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
c6e58110da
commit
ad86faada7
@ -36,7 +36,7 @@
|
||||
|
||||
/*
|
||||
* i2c read
|
||||
* bulk write: 0x02 ((7bit i2c_addr << 1) & 0x01) register_bytes length_word
|
||||
* bulk write: 0x02 ((7bit i2c_addr << 1) | 0x01) register_bytes length_word
|
||||
* bulk read: byte_buffer (length_word bytes)
|
||||
*/
|
||||
#define DIBUSB_REQ_I2C_READ 0x02
|
||||
|
Loading…
Reference in New Issue
Block a user