projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d35028
)
V4L/DVB: dvb-usb/opera1: misplaced parenthesis
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 15 Feb 2010 22:30:38 +0000
(19:30 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 26 Feb 2010 18:11:03 +0000
(15:11 -0300)
The parenthesis was misplaced, tmp is set to 0 or break occurs,
while debugging opera1_usb_i2c_msgxfer() retval was not shown.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
CC: Marco Gittler <g.marco@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/opera1.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/opera1.c
b/drivers/media/dvb/dvb-usb/opera1.c
index
d4e2309
..
8305576
100644
(file)
--- a/
drivers/media/dvb/dvb-usb/opera1.c
+++ b/
drivers/media/dvb/dvb-usb/opera1.c
@@
-138,7
+138,7
@@
static int opera1_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
(msg[i].addr<<1)|(msg[i].flags&I2C_M_RD?0x01:0),
msg[i].buf,
msg[i].len
- )
!= msg[i].len)
) {
+ )
) != msg[i].len
) {
break;
}
if (dvb_usb_opera1_debug & 0x10)