summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb/dibusb.h
diff options
context:
space:
mode:
authorRaimonds Cicans <ray@apollo.lv>2014-07-08 14:38:20 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 22:09:47 +0400
commitad86faada7d8dd4268ea8ad7b0b5dbc308a6994f (patch)
tree1e66b2d334c9ed766316a7ed00bd8c2e7df32be1 /drivers/media/usb/dvb-usb/dibusb.h
parentc6e58110da131a866f26b3860aea746de134318b (diff)
downloadlinux-ad86faada7d8dd4268ea8ad7b0b5dbc308a6994f.tar.xz
[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>
Diffstat (limited to 'drivers/media/usb/dvb-usb/dibusb.h')
-rw-r--r--drivers/media/usb/dvb-usb/dibusb.h2
1 files changed, 1 insertions, 1 deletions
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