projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e5811
)
[media] Fix typo in comments
author
Raimonds Cicans
<ray@apollo.lv>
Tue, 8 Jul 2014 10:38:20 +0000
(07:38 -0300)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/drivers/media/usb/dvb-usb/dibusb.h
b/drivers/media/usb/dvb-usb/dibusb.h
index
e47c321
..
32ab139
100644
(file)
--- 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