diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-04-30 11:57:48 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-06-19 18:09:56 -0700 |
commit | 91d10161226c1edfb1354441ad78b9ae679a6108 (patch) | |
tree | c6aa16f7cb0a4e71019ca1480a7b2efafe9b7861 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 574c79582963319c39b0d9cfd231367fb96ec907 (diff) |
clk: pwm: Don't reconfigure running PWM at probe time
If the PWM is enabled already when .probe() is entered, period and
duty_cycle are updated which essentially corresponds to a clock frequency
change. This is unusual and surprising. So update the settings only when
the clock gets prepared.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/a974f1147e1a080bf5ad7f1752c92b24516df284.1746006578.git.ukleinek@baylibre.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions