Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Raimonds Cicans and committed by
Mauro Carvalho Chehab
ad86faad c6e58110

+1 -1
+1 -1
drivers/media/usb/dvb-usb/dibusb.h
··· 36 36 37 37 /* 38 38 * i2c read 39 - * bulk write: 0x02 ((7bit i2c_addr << 1) & 0x01) register_bytes length_word 39 + * bulk write: 0x02 ((7bit i2c_addr << 1) | 0x01) register_bytes length_word 40 40 * bulk read: byte_buffer (length_word bytes) 41 41 */ 42 42 #define DIBUSB_REQ_I2C_READ 0x02