diff options
author | Roger Quadros <rogerq@ti.com> | 2014-02-22 16:53:41 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-22 15:35:43 -0500 |
commit | e708e46edac8ab2f31e7ee991aa3c5b87638e658 (patch) | |
tree | 8b9de353a09e14993f2daf2a4f05864236eaca9a /arch | |
parent | 21b5faeec229d4f70a7f60a7b0b065c98198f491 (diff) |
ata: ahci_platform: runtime resume the device before use
On OMAP platforms the device needs to be runtime resumed before it can
be accessed. The OMAP HWMOD framework takes care of enabling the
module and its resources based on the device's runtime PM state.
In this patch we runtime resume during .probe() and runtime suspend
after .remove().
We also update the runtime PM state during .resume().
CC: Balaji T K <balajitk@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions