summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/pmc.h
diff options
context:
space:
mode:
authorRomain Izard <romain.izard.pro@gmail.com>2017-12-11 17:55:34 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-12-21 16:34:05 -0800
commit3c6fad2593d75a1674c5c2b19c78552c48ef46b5 (patch)
tree0d77dae829a9f26fbffd9a895a43364ccd402730 /drivers/clk/at91/pmc.h
parent960e1c4d93be86d3b118fe22d4edc69e401b28b5 (diff)
downloadlinux-3c6fad2593d75a1674c5c2b19c78552c48ef46b5.tar.gz
linux-3c6fad2593d75a1674c5c2b19c78552c48ef46b5.tar.bz2
linux-3c6fad2593d75a1674c5c2b19c78552c48ef46b5.zip
clk: at91: pmc: Save SCSR during suspend
The contents of the System Clock Status Register (SCSR) needs to be restored into the System Clock Enable Register (SCER). As the bootloader will restore some clocks by itself, the issue can be missed as only the USB controller, the LCD controller, the Image Sensor controller and the programmable clocks will be impacted. Fix the obvious typo in the suspend/resume code, as the IMR register does not need to be saved twice. Signed-off-by: Romain Izard <romain.izard.pro@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/at91/pmc.h')
0 files changed, 0 insertions, 0 deletions