diff options
| author | Uwe Kleine-König <[email protected]> | 2025-04-30 09:57:46 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2025-06-20 01:09:54 +0000 |
| commit | 6ae97be59c7bce32c83d4cdb39902d64831dc714 (patch) | |
| tree | 902a497f712a907cc8741c234eb9f012761efc6a /tools/perf/scripts/python | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-6ae97be59c7bce32c83d4cdb39902d64831dc714.tar.gz kernel-6ae97be59c7bce32c83d4cdb39902d64831dc714.zip | |
clk: pwm: Let .get_duty_cycle() return the real duty cycle
pwm_get_state() returns the last requested pwm_state which might differ
from what the lowlevel PWM driver actually implemented. For the purpose
of .get_duty_cycle() the latter is the more interesting info, so use
that to determine the output parameter.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/3db08ded39c09aaa5004b3b8b1238111f199e819.1746006578.git.ukleinek@baylibre.com
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
