diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2014-05-22 22:00:05 +0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-05-26 05:45:06 +0400 |
commit | 8255fe169232364e5a01bd062e8037b8c1a9adec (patch) | |
tree | 2aa3635e0bb2df756d995b84bbb7cb06236ebc3e /drivers/ata/pata_sis.c | |
parent | 39c5abbc54179998bf04368a11c561e19220d7d4 (diff) | |
download | linux-8255fe169232364e5a01bd062e8037b8c1a9adec.tar.xz |
drivers: sh: pm_runtime implementation needs to suspend and resume devices
If we override the platform bus calls for pm_runtime then we end up
with the calls to the devices' suspend and resume methods ignored
in favour of the bus ones.
Change to calling the pm_runtime calls to suspend and resume the
devices specifically in the drivers/sh/pm_runtime.c implementation
to allow any device that may want to run power management to do so.
Note, all the current sh driver implementations do not use their
own power management code so this is not a major implementation
issues.
This also brings the implementation into line with the versions
used by the Davinci and Keystone PM domain code, so once fully
tested these implementations could be merged together.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/ata/pata_sis.c')
0 files changed, 0 insertions, 0 deletions