commit | 422470a8265fbb1d182c00ab2421f4b416ab2dba | [log] [tgz] |
---|---|---|
author | Tony Prisk <linux@prisktech.co.nz> | Tue Nov 20 06:44:46 2012 +1300 |
committer | Thierry Reding <thierry.reding@avionic-design.de> | Thu Nov 22 22:47:12 2012 +0100 |
tree | aacef5cee631f3a0a15b0f927cc06151a3ce4eca | |
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>