From: Peter Griffin Date: Tue, 31 Mar 2015 07:35:09 +0000 (+0100) Subject: ahci: st: st_configure_oob must be called after IP is clocked. X-Git-Tag: omap-for-v4.2/o2_dc~159^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a1e75e11a8d09c5cba022e1ac04b0785354f708;p=pandora-kernel.git ahci: st: st_configure_oob must be called after IP is clocked. Currently the ahci_st driver will hang the system on probe, as the st_configure_oob function does some register writes before the IP is clocked. This patch moves the function call to after ahci_platform_enable_resources (which enables the IP clock), and resolves the hang. Addtionally st_ahci_configure_oob should be called in the st_ahci_resume function, so we also rectify that ensuring it is also called after the IP clock has been enabled. Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin Signed-off-by: Tejun Heo --- Reading git-diff-tree failed