[media] Fix typo in comments
authorRaimonds Cicans <ray@apollo.lv>
Tue, 8 Jul 2014 10:38:20 +0000 (07:38 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 18:09:47 +0000 (15:09 -0300)
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>
drivers/media/usb/dvb-usb/dibusb.h

index e47c321b3ffcb8c7a4fa703a2cd2cb6c5a3b3299..32ab1392313fbdaed6ec67591cbd38e964bde878 100644 (file)
@@ -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
This page took 0.024558 seconds and 5 git commands to generate.