diff options
author | Sylvain Rochet <sylvain.rochet@finsecur.com> | 2015-02-05 09:00:37 +0300 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-03-03 21:43:59 +0300 |
commit | ad4a38d2187720a3d1442d693c99675ccd955f32 (patch) | |
tree | 168ef207fe7fb5cd9bf01e30c8418a540540ff69 /include | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | linux-ad4a38d2187720a3d1442d693c99675ccd955f32.tar.xz |
pm: at91: pm_slowclock: fix suspend/resume hang up in timeouts
Removed timeout on XTAL, PLL lock and Master Clock Ready, hang if
something went wrong instead of continuing in unknown condition. There
is not much we can do if a PLL lock never ends, we are running in SRAM
and we will not be able to connect back the sdram or ddram in order to
be able to fire up a message or just panic.
As a bonus, not decounting the timeout register in slow clock mode
reduce cumulated suspend time and resume time from ~17ms to ~15ms.
Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Acked-by: Wenyou.Yang <wenyou.yang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions