aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRaimonds Cicans <ray@apollo.lv>2014-07-08 07:38:20 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 15:09:47 -0300
commitad86faada7d8dd4268ea8ad7b0b5dbc308a6994f (patch)
tree1e66b2d334c9ed766316a7ed00bd8c2e7df32be1
parent[media] staging: omap4iss: Fix type of struct iss_device::crashed (diff)
downloadwireguard-linux-ad86faada7d8dd4268ea8ad7b0b5dbc308a6994f.tar.xz
wireguard-linux-ad86faada7d8dd4268ea8ad7b0b5dbc308a6994f.zip
[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>
-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