From ad86faada7d8dd4268ea8ad7b0b5dbc308a6994f Mon Sep 17 00:00:00 2001 From: Raimonds Cicans Date: Tue, 8 Jul 2014 07:38:20 -0300 Subject: [PATCH] [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 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb/dibusb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/dibusb.h b/drivers/media/usb/dvb-usb/dibusb.h index e47c321b3ffc..32ab1392313f 100644 --- a/drivers/media/usb/dvb-usb/dibusb.h +++ b/drivers/media/usb/dvb-usb/dibusb.h @@ -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 -- 2.34.1