diff options
author | Kevin Hilman <khilman@ti.com> | 2011-05-17 18:31:38 +0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-10-29 12:37:09 +0400 |
commit | fab67afb543c734c23be0ebfc16f31814df2da79 (patch) | |
tree | 5cca96aa3534377043c7490c7851cbd963079ee3 /include/linux/serial_mfd.h | |
parent | 7f4b08eeeedd90d97c8c581d048074e0c2643bec (diff) | |
download | linux-fab67afb543c734c23be0ebfc16f31814df2da79.tar.xz |
I2C: OMAP: remove dev->idle, use usage counting provided by runtime PM
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. Therefore, change omap_i2c_[un]idle() functions
to only be called from the runtime PM callbacks (when usage count
transitions to/from zero.)
Also, the runtime PM core does usage counting and replaces
functionality currently managed by the dev->idle flag. Remove usage
of dev->idle in favor of using runtime PM, and checking status using
pm_runtime_suspended().
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'include/linux/serial_mfd.h')
0 files changed, 0 insertions, 0 deletions