提交 ad86faad 编写于 作者: R Raimonds Cicans 提交者: 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: NRaimonds Cicans <ray@apollo.lv>
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册