aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-03-26 10:06:41 +0100
committerKrzysztof Kozlowski <[email protected]>2021-04-01 19:40:27 +0200
commit19f5027e0394d2f3e1766200b6bbde660f0b7848 (patch)
tree9df6b39ec60ce9839cbf5733828fcb6453818c11 /scripts/gdb/linux/tasks.py
parentca881b97dbe1ce3ed94e20ae185b246435d86ead (diff)
ARM: s3c: Use pwm_get() in favour of pwm_request() in RX1950
pwm_request() is deprecated because (among others) it depends on a global numbering of PWM devices. So register a pwm_lookup to pick the right PWM device (identified by provider and its local id) and use pwm_get(). Before this patch the PWM #1 was used. This is provided by the samsung-pwm device which is the only PWM provider on this machine. The local offset is 1, see also commit c107fe904a10 ("ARM: S3C24XX: Use PWM lookup table for mach-rx1950") with a similar conversion for PWM #0. As a follow up specify the period only once and symmetrically use pwm_put() instead of pwm_free() to drop the reference. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions