diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2012-11-20 06:44:46 +1300 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-11-22 22:47:12 +0100 |
commit | 422470a8265fbb1d182c00ab2421f4b416ab2dba (patch) | |
tree | aacef5cee631f3a0a15b0f927cc06151a3ce4eca /include | |
parent | 2f9569f7ceab31242b306d040861737580e1876f (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions