summaryrefslogtreecommitdiff
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-10-24 18:55:23 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-10-26 12:36:56 -0700
commit2a9a06f98f26654d3b07482319ea0be276689f0b (patch)
tree72a89b76df2c69c926c7421a4794d41da8b7786f /drivers/scsi/hosts.c
parentbe68bf883170b3e4123fc4ff3745e38fb45a573e (diff)
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 'drivers/scsi/hosts.c')
0 files changed, 0 insertions, 0 deletions