diff options
author | Uwe Kleine-König <[email protected]> | 2024-07-09 12:18:06 +0200 |
---|---|---|
committer | Uwe Kleine-König <[email protected]> | 2024-07-10 17:55:12 +0200 |
commit | c1330cb9a56d42632b1af54cda374e01e39dcc59 (patch) | |
tree | aa448f1bd4ab8a9ecd6cc2dcd7cd41454d8203a1 /scripts/gdb/linux/lists.py | |
parent | 9dd42d019e6399e6e7d9e90759a61ff430625285 (diff) |
pwm: atmel-tcb: Simplify checking the companion output
The two outputs provided by the supported hardware share some settings,
so access to the other PWM is required when one of them is configured.
Instead of an explicit if to deterimine the other PWM just use
hwpwm ^ 1. Further atcbpwm is never NULL, so drop the corresponding
check.
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions