aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2025-04-04 10:48:42 +0000
committerUwe Kleine-König <[email protected]>2025-04-14 06:03:16 +0000
commit461d68d43d69a3d96750448ea5c3e0a68fc8d4c6 (patch)
treedc3f9bfa936bfcd54dd033fcd807994fa0a1cc46 /drivers/pwm/pwm-stm32.c
parentpwm: Make chip parameter to pwmchip_get_drvdata() a const pointer (diff)
downloadkernel-461d68d43d69a3d96750448ea5c3e0a68fc8d4c6.tar.gz
kernel-461d68d43d69a3d96750448ea5c3e0a68fc8d4c6.zip
pwm: Add actual hardware state to pwm debugfs file
Traditionally /sys/kernel/debug/pwm only contained info from pwm->state. Most of the time this data represents the last requested setting which might differ considerably from the actually configured in hardware setting. Expand the information in the debugfs file with the actual values. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Trevor Gamblin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions