commit | d81738b76feee2cf8f296ef943966f3f2a0e3fce | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Tue Aug 16 10:35:00 2016 +0100 |
committer | Thierry Reding <thierry.reding@gmail.com> | Thu Sep 08 10:55:08 2016 +0200 |
tree | 9fbb3c73ddeab99a0418e417671ececd0c679a6f | |
parent | c5f94ae639236e53970841d494d1ac2140181232 [diff] |
pwm: sti: Only request clock rate when needed In the original code the clock rate was only obtained during initialisation; however, the rate may change between then and its use. This patch ensures the correct rate is acquired just before use. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>