Re: [PATCH v3 3/3] clk: lpc18xx-cgu: fix potential system hang when disabling unused clocks

2015-10-26 Thread Stephen Boyd
On 10/24, Joachim Eastwood wrote: > The clock consumer (CCU) of the CGU must be able to check if a CGU > base clock is really running since access to the CCU registers > requires a running base clock. Access with a disabled base clock will > cause the system to hang. Fix this issue by adding code t

[PATCH v3 3/3] clk: lpc18xx-cgu: fix potential system hang when disabling unused clocks

2015-10-24 Thread Joachim Eastwood
The clock consumer (CCU) of the CGU must be able to check if a CGU base clock is really running since access to the CCU registers requires a running base clock. 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 i