diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-28 09:08:26 -0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-07-13 05:18:09 -0400 |
commit | a86ae9ff2905ebff4689bcd4946d7a95d9f5f237 (patch) | |
tree | a695a3d7dfaccdee27cd64781e2f061646b982a0 /drivers/i2c | |
parent | b900ba4c1513a8c9a2fab8dca4cc6f50b17d6861 (diff) |
i2c-s3c2410: Use plain pm_runtime_put()
There's no point in using _sync() as we don't really care if the suspend
has completed immediately.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reviewed-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index e43614c4f217..5ae3b0236bd3 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -609,7 +609,7 @@ static int s3c24xx_i2c_xfer(struct i2c_adapter *adap, | |||
609 | 609 | ||
610 | if (ret != -EAGAIN) { | 610 | if (ret != -EAGAIN) { |
611 | clk_disable(i2c->clk); | 611 | clk_disable(i2c->clk); |
612 | pm_runtime_put_sync(&adap->dev); | 612 | pm_runtime_put(&adap->dev); |
613 | return ret; | 613 | return ret; |
614 | } | 614 | } |
615 | 615 | ||
@@ -619,7 +619,7 @@ static int s3c24xx_i2c_xfer(struct i2c_adapter *adap, | |||
619 | } | 619 | } |
620 | 620 | ||
621 | clk_disable(i2c->clk); | 621 | clk_disable(i2c->clk); |
622 | pm_runtime_put_sync(&adap->dev); | 622 | pm_runtime_put(&adap->dev); |
623 | return -EREMOTEIO; | 623 | return -EREMOTEIO; |
624 | } | 624 | } |
625 | 625 | ||