diff options
author | Axel Haslam <axelhaslam@ti.com> | 2011-09-05 14:26:52 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2011-09-06 19:48:37 -0700 |
commit | 18c2cdffc3995aaa38792e5d65a4ad4c00d700c6 (patch) | |
tree | 001205f82f4323be5acda1e981af532bbbd8a640 /drivers/mmc/host/sdhci-s3c.c | |
parent | 6d80f8efdbe1e5e2bc6622aed693ea61c92edd25 (diff) | |
download | kernel_samsung_tuna-18c2cdffc3995aaa38792e5d65a4ad4c00d700c6.zip kernel_samsung_tuna-18c2cdffc3995aaa38792e5d65a4ad4c00d700c6.tar.gz kernel_samsung_tuna-18c2cdffc3995aaa38792e5d65a4ad4c00d700c6.tar.bz2 |
OMAP: PM: replace omap_pm_get_dev_context_loss_count with omap_pm_was_context_lost
Drivers just need to know if thier context was lost
or not. There is not much point in maintaining a count
This removes omap_pm_get_dev_context_loss_count and
replaces it with omap_pm_was_context_lost
Adapt drivers to use the omap_pm_was_context_lost API,
which returns a bool value instead of relying on the
incrementing context lost counter. This makes
drivers a little more snappier as they do not need to
restore contexts when not needed.
WARNING: this changes the api set available to drivers
to use from OMAP PM layer.
Change-Id: I7fd9183d3e12982bb40651df9378637073121399
Signed-off-by: Axel Haslam <axelhaslam@ti.com>
Diffstat (limited to 'drivers/mmc/host/sdhci-s3c.c')
0 files changed, 0 insertions, 0 deletions