Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 422470a8 authored by Tony Prisk's avatar Tony Prisk Committed by Thierry Reding
Browse files

pwm: vt8500: Ensure PWM clock is enabled during pwm_config



This patch corrects a bug reported by Peter Vasil.

When all PWMs are disabled, PWM module may be disabled during
calls to pwm_config. This patch enables/disables the clock in
pwm_config to ensure the module is active before register read/
writes.

Signed-off-by: default avatarTony Prisk <linux@prisktech.co.nz>
Tested-by: default avatarPeter Vasil <petervasil@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
parent 2f9569f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment