diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-01-10 20:33:53 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-03-04 12:52:48 +0100 |
commit | 519ef9b5f23c16dcb3a3a8a890baf7c084974730 (patch) | |
tree | 3bc283361d4fbca9dce5f3923638d6c3691b92be /include/rdma/ib_umem_odp.h | |
parent | pwm: rcar: Improve calculation of divider (diff) | |
download | linux-519ef9b5f23c16dcb3a3a8a890baf7c084974730.tar.xz linux-519ef9b5f23c16dcb3a3a8a890baf7c084974730.zip |
pwm: imx27: Only enable the clocks once in .get_state()
Currently the function pwm_imx27_get_state() of enables the clocks once
unconditionally at the start, a second time if the PWM is enabled and
disables unconditionally at the end.
Simplify that to enable once at the start and disable conditionally at
the end.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include/rdma/ib_umem_odp.h')
0 files changed, 0 insertions, 0 deletions