clk: sunxi: Remove ahb1_sdram from sun6i/sun8i protected clocks list
authorChen-Yu Tsai <wens@csie.org>
Mon, 24 Nov 2014 10:05:15 +0000 (18:05 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 21 Dec 2014 22:51:37 +0000 (23:51 +0100)
commit75bd2ec1a65a30094f630f9c5bf3ecfe9549496f
treea98a3887007a12b64748b865255bbf761e8cfb9e
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
clk: sunxi: Remove ahb1_sdram from sun6i/sun8i protected clocks list

The ahb1_sdram clock gate is only used for accessing the sdram
controller's registers over the bus. It is not used for actually clock
the controller or the dram, hence it does not need to be protected.

This also gets rid of the problem when the protected ahb1_sdram gate
is prepared/enabled while it is still an orphan, and the operation
is not propagated to the correct parent.

This was confirmed on my A23 tablet and my A31 Hummingbird.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sunxi.c