diff options
author | Uwe Kleine-König <[email protected]> | 2024-09-05 11:06:24 +0200 |
---|---|---|
committer | Uwe Kleine-König <[email protected]> | 2024-09-05 11:12:01 +0200 |
commit | 10c48e9a8fd5e524d37559cf4a06039b4c25db48 (patch) | |
tree | ec445116de298f49478b09cffc6bd1426babc9d1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
pwm: stm32: Use the right CCxNP bit in stm32_pwm_enable()
The pwm devices for a pwm_chip are numbered starting at 0, the first hw
channel however has the number 1. While introducing a parametrised macro
to simplify register bit usage and making that offset explicit, one of
the usages was converted wrongly. This is fixed here.
Fixes: 7cea05ae1d4e ("pwm-stm32: Make use of parametrised register definitions")
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions