mirror of https://gitee.com/openkylin/linux.git
i2c: rcar: use proper type for timeout
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>
This commit is contained in:
parent
efd2c6118e
commit
b6763d0da5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue