summaryrefslogtreecommitdiffstats
path: root/sound/soc/kirkwood/kirkwood-i2s.c
diff options
context:
space:
mode:
authorSimon Baatz2012-07-06 20:42:38 +0200
committerAndrew Lunn2012-07-25 16:51:10 +0200
commitb5409430ffaef1ed282d20cab868ee692df6dbff (patch)
treec71c5551df6d229dd5a7b64e8a6c876a3d97f726 /sound/soc/kirkwood/kirkwood-i2s.c
parentARM: Kirkwood: Ensure runit clock always ticks. (diff)
downloadkernel-qcow2-linux-b5409430ffaef1ed282d20cab868ee692df6dbff.tar.gz
kernel-qcow2-linux-b5409430ffaef1ed282d20cab868ee692df6dbff.tar.xz
kernel-qcow2-linux-b5409430ffaef1ed282d20cab868ee692df6dbff.zip
ARM: Kirkwood: Fix PHY disable clk problems
Commit 98d9986 (ARM: Kirkwood: Replace clock gating) and the fix 5fb2ce (ARM: Kirkwood: clk_register_gate_fn: add fn assignment) introduced a custom variant of clock gating which allows to define a function to be called before gating the clock off. This is used to disable the SATA and PCIe PHYs if the respective clocks are unused after initialization. However, of these two drivers, the SATA driver may be compiled as a module. The driver re-enables the clocks at module init but the PHYs stay disabled. Since the custom clock gating disabled the PHYs when gating the clock off, it should also re-enable them when enabling the clock gate. This is done by adding a second function that may be used to enable the PHYs. Signed-off-by: Simon Baatz <gmbnomis@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'sound/soc/kirkwood/kirkwood-i2s.c')
0 files changed, 0 insertions, 0 deletions