Hi,
@@ -857,15 +885,44 @@ static int nmk_i2c_suspend(struct device *dev)
{
struct amba_device *adev = to_amba_device(dev);
struct nmk_i2c_dev *nmk_i2c = amba_get_drvdata(adev);
+ int ret;
if (nmk_i2c-busy)
return -EBUSY;
+ if
From: Patrice Chotard patrice.chot...@stericsson.com
Amend the I2C nomadik pin controller to optionally take a pin control
handle and set the state of the pins to:
- default on boot, resume and before performing an i2c transfer
- idle after initial default, after resume default, and after each
From: Patrice Chotard patrice.chot...@stericsson.com
Amend the I2C nomadik pin controller to optionally take a pin control
handle and set the state of the pins to default on boot and
before performing an i2c transfer, and to sleep after an i2c xfer.
Signed-off-by: Patrice Chotard