projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094ccd6
)
i2c 'Sr' do not send 'STOP'
author
kfx
<kfx@rock-chips.com>
Thu, 6 Jan 2011 06:52:48 +0000
(14:52 +0800)
committer
kfx
<kfx@rock-chips.com>
Thu, 6 Jan 2011 06:52:48 +0000
(14:52 +0800)
drivers/i2c/busses/i2c-rk29.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-rk29.c
b/drivers/i2c/busses/i2c-rk29.c
index d020ddda31d1b33f51519011a4980fa0b5d41f61..fdda20294820b5ba23222b22c06cc8a25e05c632 100755
(executable)
--- a/
drivers/i2c/busses/i2c-rk29.c
+++ b/
drivers/i2c/busses/i2c-rk29.c
@@
-469,10
+469,10
@@
static int rk29_xfer_msg(struct i2c_adapter *adap,
}
exit:
-
//
if(stop || ret < 0)
-
//
{
+ if(stop || ret < 0)
+ {
rk29_i2c_stop(i2c);
-
//
}
+ }
return ret;
}