i2c: omap: on ->remove() call pm_runtime_put_sync()
authorFelipe Balbi <balbi@ti.com>
Mon, 13 Jul 2015 20:38:04 +0000 (15:38 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Aug 2015 06:37:28 +0000 (08:37 +0200)
commit1c4828f916ffd5b7cc4d57d832cce615475b36da
tree80956a38a1f3cede378fd13c8cb1bd91b4481cd9
parent63f8f85625fa726bdf28862dd4d2e1bf3d230bb8
i2c: omap: on ->remove() call pm_runtime_put_sync()

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