author | Felipe Balbi <balbi@ti.com> | |
Wed, 12 Sep 2012 10:58:14 +0000 (16:28 +0530) | ||
committer | Wolfram Sang <w.sang@pengutronix.de> | |
Wed, 12 Sep 2012 13:04:03 +0000 (15:04 +0200) | ||
commit | e3a36b207f76364c281aeecaf14c1b22a7247278 | |
tree | 0ef963c44ba8cdc5f880748ca9511e2a1154ca3d | tree | snapshot (tar.xz tar.gz zip) |
parent | 3b2f8f82dad7d1f79cdc8fc05bd1c94baf109bde | commit | diff |
i2c: omap: remove unnecessary pm_runtime_suspended check
before starting any messages we call pm_runtime_get_sync()
which will make sure that by the time we program a transfer
and our IRQ handler gets called, we're not suspended
anymore.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
before starting any messages we call pm_runtime_get_sync()
which will make sure that by the time we program a transfer
and our IRQ handler gets called, we're not suspended
anymore.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c | diff | blob | history |