diff options
| author | Uwe Kleine-König <[email protected]> | 2025-04-30 09:57:47 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2025-06-20 01:09:55 +0000 |
| commit | 574c79582963319c39b0d9cfd231367fb96ec907 (patch) | |
| tree | cb7df67cf34560fe8fa7c128c98e66ea6e44cbb9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | clk: pwm: Let .get_duty_cycle() return the real duty cycle (diff) | |
| download | kernel-574c79582963319c39b0d9cfd231367fb96ec907.tar.gz kernel-574c79582963319c39b0d9cfd231367fb96ec907.zip | |
clk: pwm: Convert to use pwm_apply_might_sleep()
pwm_config() is an old function that I'd like to remove. So convert this
driver to use pwm_apply_might_sleep().
There is a minor change in behaviour as the explicitly calculated
duty_cycle used an uprounding division while pwm_set_relative_duty_cycle()
rounds down. I don't expect that difference to matter in practice though.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/f194fad5ee8bdd3fda6159324524979729683653.1746006578.git.ukleinek@baylibre.com
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
