summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/clock-r8a7790.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-12-14 16:23:52 +0100
committerSimon Horman <horms+renesas@verge.net.au>2014-02-04 10:22:52 +0900
commit017410f686b8d9928ce30e4eb146175ea672f4c9 (patch)
tree2ff8c813fdb449bc8d0f109e1c9dfeb831af3027 /arch/arm/mach-shmobile/clock-r8a7790.c
parenta028c6da34d434e35ba8322568c756ea97ff3c18 (diff)
downloadop-kernel-dev-017410f686b8d9928ce30e4eb146175ea672f4c9.zip
op-kernel-dev-017410f686b8d9928ce30e4eb146175ea672f4c9.tar.gz
ARM: shmobile: r8a7779: Wait for status on selected MSTP clocks
When enabling some of the module clocks by clearing stop bits in the MSTP control registers, the CPG requires waiting for the status registers to signal that the clocks have started. Failure to do so will result in returning from the clk_enable() call with the clock potentially still disabled, leading to various race conditions and difficult to debug errors. Enable status wait for all the r8a7779 MSTP clocks that report their status. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/clock-r8a7790.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud