aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2020-02-10 22:22:39 +0100
committerThierry Reding <[email protected]>2020-03-30 16:55:25 +0200
commit4563654fddc05a572f889373ba22abc616b3aa1f (patch)
tree77820daca6dfcf597d715a6da914719fde492490 /tools/perf/scripts/python
parentaad4e530c241cbe862aff445f13db9099c9980eb (diff)
pwm: imx27: Don't disable clocks at device remove time
The .remove() callback is not supposed to modify hardware state. This is in the responsibility of the PWM consumer. After the PWM was disabled the clocks are off (apart from a bug that is fixed in the next patch), so unbinding the driver either stops the PWM (which it should not) or disables already disabled clocks yielding warnings from the clk core. So just drop the call to disable the clocks. (Which BTW was also in the wrong order because the call makes the PWM unfunctional and so should have come only after pwmchip_remove()). Fixes: 9f4c8f9607c3 ("pwm: imx: Add ipg clock operation") Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions