OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f8f85
)
i2c: omap: on ->remove() call pm_runtime_put_sync()
author
Felipe Balbi
<balbi@ti.com>
Mon, 13 Jul 2015 20:38:04 +0000
(15:38 -0500)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 10 Aug 2015 06:37:28 +0000
(08:37 +0200)
we're about to remove the module, so we can't
really schedule a PM transition in the future,
we must wait for it to finish.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-omap.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-omap.c
b/drivers/i2c/busses/i2c-omap.c
index
e359ad3
..
afc3bfc
100644
(file)
--- a/
drivers/i2c/busses/i2c-omap.c
+++ b/
drivers/i2c/busses/i2c-omap.c
@@
-1468,7
+1468,7
@@
static int omap_i2c_remove(struct platform_device *pdev)
return ret;
omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, 0);
- pm_runtime_put(&pdev->dev);
+ pm_runtime_put
_sync
(&pdev->dev);
pm_runtime_disable(&pdev->dev);
return 0;
}