From: Roger Quadros Date: Sat, 22 Feb 2014 15:53:41 +0000 (+0100) Subject: ata: ahci_platform: runtime resume the device before use X-Git-Tag: v3.15-rc1~161^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e708e46edac8ab2f31e7ee991aa3c5b87638e658;p=pandora-kernel.git 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 Signed-off-by: Roger Quadros Signed-off-by: Hans de Goede Signed-off-by: Tejun Heo --- Reading git-diff-tree failed