summaryrefslogtreecommitdiff
path: root/sound/arm/aaci.h
diff options
context:
space:
mode:
authorSimon Baatz <gmbnomis@gmail.com>2012-07-06 18:42:38 (GMT)
committerAndrew Lunn <andrew@lunn.ch>2012-07-25 14:51:10 (GMT)
commitb5409430ffaef1ed282d20cab868ee692df6dbff (patch)
treec71c5551df6d229dd5a7b64e8a6c876a3d97f726 /sound/arm/aaci.h
parentf479db44d2e3d4a969897e1f5e331e5ed4ac4968 (diff)
downloadlinux-b5409430ffaef1ed282d20cab868ee692df6dbff.tar.xz
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/arm/aaci.h')
0 files changed, 0 insertions, 0 deletions