summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-10-24 19:55:23 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-10-26 22:36:56 +0300
commit2a9a06f98f26654d3b07482319ea0be276689f0b (patch)
tree72a89b76df2c69c926c7421a4794d41da8b7786f /scripts/coccinelle
parentbe68bf883170b3e4123fc4ff3745e38fb45a573e (diff)
downloadlinux-2a9a06f98f26654d3b07482319ea0be276689f0b.tar.xz
clk: lpc18xx-ccu: fix potential system hang when disabling unused clocks
CCU branch clock register must only be accessed while the base (parent) clock is running. Access with a disabled base clock will cause the system to hang. Fix this issue by adding code that check if the parent clock is running in the is_enabled clk_ops callback. This hang would occur when disabling unused clocks after AMBA runtime pm had already disabled some of the clocks. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions