i2c-omap: Fix i2c_xfer for 1 msg
Subsystems (4)
PATCH 1/2 i2c-omap: Fix i2c_xfer for 1 msg
omap_i2c_xfer is supposed to return number of messages successfuly transfered. Remove bogus condition which causes it to fail when transfering one message.
drivers/i2c/busses/i2c-omap.c +1 -1
@@ -403,7 +403,7 @@ omap_i2c_xfer(struct i2c_adapter *adap,break ; } -if (r ==0 && num >1 ) +if (r ==0 ) r = num; out:omap_i2c_disable_clocks (dev);
Quoted 3 lines · Ladislav Michl
omap_i2c_xferis supposed to return number of messages successfuly transfered. Remove bogus condition which causes it to fail when transfering one message.
Ping? Everyone happy with current state of art? :-)
Also could anyone with 15xx test second patch (2/2)? If there are no objectios I'd like to see both applied :-)
Thanks,
ladis
Tony Lindgren
maintainerQuoted 6 lines · Ladislav Michl
Quoted 3 lines · Ladislav Michl
omap_i2c_xferis supposed to return number of messages successfuly transfered. Remove bogus condition which causes it to fail when transfering one message.Ping? Everyone happy with current state of art? :-)
Everybody's just busy I'd assume...
Quoted 2 lines
Also could anyone with 15xx test second patch (2/2)? If there are no objectios I'd like to see both applied :-)
I'll push them on Friday unless somebody somebody files a complaint.
Tony
Tony Lindgren
maintainerQuoted 6 lines · Tony Lindgren
Quoted 5 lines · Ladislav Michl
Quoted 3 lines · Ladislav Michl
omap_i2c_xferis supposed to return number of messages successfuly transfered. Remove bogus condition which causes it to fail when transfering one message.
Quoted 8 lines
Quoted 1 line
Ping? Everyone happy with current state of art? :-)
Everybody's just busy I'd assume...
Quoted 2 lines
Also could anyone with 15xx test second patch (2/2)? If there are no objectios I'd like to see both applied :-)
I'll push them on Friday unless somebody somebody files a complaint.
Just pushed them finally.
Tony