Commit ad86faad authored by Raimonds Cicans's avatar Raimonds Cicans Committed by Mauro Carvalho Chehab

[media] Fix typo in comments

Expression ((7bit i2c_addr << 1) & 0x01) can not be right
because it is always 0
Signed-off-by: default avatarRaimonds Cicans <ray@apollo.lv>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent c6e58110
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment