diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2012-11-19 18:44:46 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-11-22 22:47:12 +0100 |
commit | 422470a8265fbb1d182c00ab2421f4b416ab2dba (patch) | |
tree | aacef5cee631f3a0a15b0f927cc06151a3ce4eca /tools | |
parent | pwm: vt8500: Fix build error (diff) | |
download | linux-422470a8265fbb1d182c00ab2421f4b416ab2dba.tar.xz linux-422470a8265fbb1d182c00ab2421f4b416ab2dba.zip |
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 'tools')
0 files changed, 0 insertions, 0 deletions