]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00210469 MX6q - Fix suspend/resume failure.
authorRanjani Vaidyanathan <ra5478@freescale.com>
Mon, 21 May 2012 14:37:03 +0000 (09:37 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:56 +0000 (14:11 +0200)
commit1602c0236a7adf9f3bd86fcca5fe4b7594cc116f
tree797ed5b24bf76e51749cd9e29423f438b7461a00
parent20e84b999cd09fcb5312883f0a0029dbfc8a1f65
ENGR00210469 MX6q - Fix suspend/resume failure.

Sourcing AXI_CLK from PLL3_PFD_540M causes the system to
hang on resuming from STOP mode.
The main issue is that PFDs may sometimes hang/freeze
when their parent PLLs are powered on and then relocked
when exiting from STOP mode. To avoid this, PFDs must
be disabled before entering STOP and enabled after resume.

The fix is to move axi_clk to periph_clk before system
enters STOP and then restore it back to PLL3_PFD_540M
after resume.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/mach-mx6/pm.c