]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00269616 mx6: Unexpected enter WAIT mode cause IPU underrun
authorAnson Huang <b20788@freescale.com>
Thu, 4 Jul 2013 01:37:34 +0000 (09:37 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:09 +0000 (14:14 +0200)
commit25b671266946c51dae7eabe18b010f1555de2b95
tree1eb723e3033f48a11e8a4bdbf368b1f30ea7aab6
parent4f28ae63a3823ce619de58e7e2340d037aa2c82c
ENGR00269616 mx6: Unexpected enter WAIT mode cause IPU underrun

CCM state machine has restriction that, everytime enable
LPM mode, we need to make sure last wakeup from LPM mode
is a dsm_wakeup_signal, which means the wakeup source
must be seen by GPC, then CCM will clean its state machine
and re-sample necessary signal to decide whether it can
enter LPM mode. Here we use the forever pending irq #125,
unmask it before we enable LPM mode and mask it after LPM
is enabled, this flow will make sure CCM state machine in
reliable state before we enter LPM mode.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-mx6/system.c