Kevin Hilman fab67afb54 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>
2011-10-29 09:37:09 +01:00
..
2011-03-31 11:26:23 -03:00
2011-07-25 17:49:42 +02:00
2009-06-16 22:42:16 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-18 23:24:50 +02:00
2011-03-31 11:26:23 -03:00
2008-01-27 18:14:45 +01:00
2011-03-31 11:26:23 -03:00
2011-01-04 00:53:37 +00:00
2011-01-04 00:53:37 +00:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-24 20:58:49 +02:00
2011-05-24 20:58:49 +02:00
2009-04-07 10:23:34 +01:00
2011-03-31 11:26:23 -03:00
2011-06-29 11:36:10 +02:00
2010-10-24 18:16:59 +02:00