From: Shinya Kuribayashi Date: Wed, 8 Jan 2014 07:54:46 +0000 (+0100) Subject: ARM: shmobile: r8a7791: Wait for status on all MSTP clocks X-Git-Tag: v3.15-rc1~76^2~26^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd6fc76d2f61e732a14f3592bdd83c2c0b7d2dcc;p=pandora-kernel.git ARM: shmobile: r8a7791: Wait for status on all MSTP clocks When enabling a module clock by clearing its bit in the MSTP control register, the CPG requires waiting for the status register to signal that the clock has 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 MSTP clocks on the r8a7791. Signed-off-by: Laurent Pinchart Acked-by: Magnus Damm Signed-off-by: Simon Horman --- Reading git-diff-tree failed