linux/drivers/clk/shmobile
Chris Brandt 12984626c7 clk: renesas: mstp: ensure register writes complete
commit f59de56335 upstream.

When there is no status bit, it is possible for the clock enable/disable
operation to have not completed by the time the driver code resumes
execution. This is due to the fact that write operations are sometimes
queued and delayed internally. Doing a read ensures the write operations
has completed.

Fixes: b6face404f ("ARM: shmobile: r7s72100: add essential clock nodes to dtsi")
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
[bwh: Backported to 3.16:
 - Use barrier() instead of barrier_data()
 - Adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-06-05 21:17:10 +01:00
..
clk-div6.c clk: shmobile: div6: use proper description in kernel doc 2014-02-25 00:26:37 -08:00
clk-emev2.c clk: emev2: Add support for emev2 SMU clocks with DT 2013-12-14 13:17:55 +09:00
clk-mstp.c clk: renesas: mstp: ensure register writes complete 2017-06-05 21:17:10 +01:00
clk-r8a7740.c clk: shmobile: Add R8A7740-specific clock support 2014-05-23 13:38:25 -07:00
clk-r8a7779.c clk: shmobile: r8a7779: Add clocks support 2014-05-12 23:07:40 -07:00
clk-rcar-gen2.c The clock framework changes for 3.15 look similar to past pull requests. 2014-04-05 18:39:18 -07:00
clk-rz.c clk: shmobile: add CPG driver for rz-platforms 2014-03-20 18:22:36 -07:00
Makefile clk: shmobile: Add R8A7740-specific clock support 2014-05-23 13:38:25 -07:00