summaryrefslogtreecommitdiff
path: root/drivers/opp
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-07-21 12:31:26 +0200
committerThierry Reding <thierry.reding@gmail.com>2022-07-29 13:40:54 +0200
commit3586b02663f098a9b0a3df13bcb3ea2d67635562 (patch)
tree2caabbb740fd56733a34937e895ed70076ffdd6e /drivers/opp
parent0f02f491b786143f08eb19840f1cf4f12aec6dee (diff)
pwm: sifive: Enable clk only after period check in .apply()
For the period check and the initial calculations of register values there is no hardware access needed. So delay enabling the clk a bit to simplify the code flow a bit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Tested-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/opp')
0 files changed, 0 insertions, 0 deletions