diff options
author | Joachim Eastwood <manabian@gmail.com> | 2015-10-24 16:55:23 (GMT) |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-26 19:36:56 (GMT) |
commit | 2a9a06f98f26654d3b07482319ea0be276689f0b (patch) | |
tree | 72a89b76df2c69c926c7421a4794d41da8b7786f /net/mac80211 | |
parent | be68bf883170b3e4123fc4ff3745e38fb45a573e (diff) | |
download | linux-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 'net/mac80211')
0 files changed, 0 insertions, 0 deletions