diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2015-03-31 08:35:09 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-04-01 12:07:19 -0400 |
commit | 9a1e75e11a8d09c5cba022e1ac04b0785354f708 (patch) | |
tree | ede77127c8bd8b125fa3f8737e1679f46b8bf1f8 /drivers/ata/pata_sil680.c | |
parent | 9a8340bfeb03c5fc20b39aa533b164844ef582f9 (diff) | |
download | op-kernel-dev-9a1e75e11a8d09c5cba022e1ac04b0785354f708.zip op-kernel-dev-9a1e75e11a8d09c5cba022e1ac04b0785354f708.tar.gz |
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 <peter.griffin@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_sil680.c')
0 files changed, 0 insertions, 0 deletions