ARM: imx: improve mxc_restart() on the SRC bit writes
authorShawn Guo <shawn.guo@linaro.org>
Thu, 31 Oct 2013 02:35:40 +0000 (10:35 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 11 Nov 2013 14:58:43 +0000 (22:58 +0800)
commit2c11b57a8a8d83ffa91aebb12c90488c8802e6f3
treea3163627418de04d98d2a0ed2480624e248902e8
parentb6e23bb63f28f0a8ffa7cf9824fa48000c08f9b2
ARM: imx: improve mxc_restart() on the SRC bit writes

The current comment in the code does not make it clear why the double writes
on SRC bit is needed.  Let's quote the errata to get it clear.  Also, to
ensure there are at least 2 writes happen in the same one 32kHz period,
we actually need 3 writes.  Let's add the third one.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/system.c