summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-05-27 04:51:56 -0700
committerTony Lindgren <tony@atomide.com>2019-05-28 05:19:16 -0700
commitea5a2e4d54675b06991ef3452e8e51ce6519a8db (patch)
tree2dd2a3a94bf289400aefe2fdd21826437057ccd0 /ipc
parent8383e25994efadbd76cf6db7b19776cb8931e5da (diff)
downloadlinux-ea5a2e4d54675b06991ef3452e8e51ce6519a8db.tar.bz2
bus: ti-sysc: Do rstctrl reset handling in two phases
We need to deassert rstctrl resets before enabling clocks to avoid clock "failed to enable" errors. For asserting rstctrl reset, the clocks need to be enabled. As the reset controller status is not available for arrays, let's use devm_reset_control_get_optional() so we can get the status after reset. Note that depends on a proper PRM rstctrl driver, so far I've only tested this with earlier reset-simple patches. Tested-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions