]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83bf6b6675b2885ac7e93fe72b3c2bb2587359fb
treed23c871588e579baaf0e07cdabb63c55ca7caad1
parentab8031a939a186c16a935c37958fff306eb85b15
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