summaryrefslogtreecommitdiff
path: root/drivers/pwm/core.c
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2012-11-19 21:44:46 +0400
committerThierry Reding <thierry.reding@avionic-design.de>2012-11-23 01:47:12 +0400
commit422470a8265fbb1d182c00ab2421f4b416ab2dba (patch)
treeaacef5cee631f3a0a15b0f927cc06151a3ce4eca /drivers/pwm/core.c
parent2f9569f7ceab31242b306d040861737580e1876f (diff)
downloadlinux-422470a8265fbb1d182c00ab2421f4b416ab2dba.tar.xz
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: Tony Prisk <linux@prisktech.co.nz> Tested-by: Peter Vasil <petervasil@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm/core.c')
0 files changed, 0 insertions, 0 deletions