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:
efd2c61
)
i2c: rcar: use proper type for timeout
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Sat, 20 Jun 2015 19:03:20 +0000
(21:03 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Tue, 23 Jun 2015 17:50:20 +0000
(19:50 +0200)
wait_event_timeout returns long, not int.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-rcar.c
b/drivers/i2c/busses/i2c-rcar.c
index e57e520b4756a9690b255997a90b7c9b08f279e2..d8361dada584556baccc2c6bd861eb11028c6d51 100644
(file)
--- a/
drivers/i2c/busses/i2c-rcar.c
+++ b/
drivers/i2c/busses/i2c-rcar.c
@@
-490,7
+490,8
@@
static int rcar_i2c_master_xfer(struct i2c_adapter *adap,
struct rcar_i2c_priv *priv = i2c_get_adapdata(adap);
struct device *dev = rcar_i2c_priv_to_dev(priv);
unsigned long flags;
- int i, ret, timeout;
+ int i, ret;
+ long timeout;
pm_runtime_get_sync(dev);