]> git.karo-electronics.de Git - karo-tx-linux.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>
Sat, 25 May 2013 00:57:10 +0000 (09:57 +0900)
commit8a6fca8ecd467a6255bda134d89fcda9ae1556ce
tree645207987d4c0010c50114fc213300c9a6c6a60a
parent9cc2f32d419b6760c0c78db79591913d7ab372fc
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