Current usage of runtime PM is not quite correct. The actual idle/unidle of the I2C hardware should not happen until the runtime PM callbacks are called. Clean up by using runtime PM callbacks to call idle/unidle functions and also replace usage of dev->idle check by pm_runtime_suspended() check. Kevin Hilman (2): I2C: OMAP: remove unneccesary use of pdev I2C: OMAP: remove dev->idle, use usage counting provided by runtime PM drivers/i2c/busses/i2c-omap.c | 70 +++++++++++++++++++++-------------------- 1 files changed, 36 insertions(+), 34 deletions(-) -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html