ARM: shmobile: sh73a0: div4 clocks must check the kick bit before changing rate
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 22 May 2013 22:10:00 +0000 (00:10 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 7 Jun 2013 05:24:52 +0000 (14:24 +0900)
commit413bfd0e67894c930242482cd15ac09a800e2ab8
treed23c871588e579baaf0e07cdabb63c55ca7caad1
parent3b207a45f909a73b6d7fbdcef49e9287ad7385af
ARM: shmobile: sh73a0: div4 clocks must check the kick bit before changing rate

According to the datasheet, it is not allowed to change div4 clock rates
if an earlier rate change operation is still in progress, as indicated by
a set kick bit.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-sh73a0.c