diff options
author | Jason Chen | 2011-12-19 04:23:28 +0100 |
---|---|---|
committer | Sascha Hauer | 2011-12-19 12:25:35 +0100 |
commit | 5776ac2eb33164c77cdb4d2b48feee15616eaba3 (patch) | |
tree | ff2dee4d0f3aa296190dc1a7a7812587c199f14c /arch/arm/plat-mxc/cpufreq.c | |
parent | Linux 3.2-rc6 (diff) | |
download | kernel-qcow2-linux-5776ac2eb33164c77cdb4d2b48feee15616eaba3.tar.gz kernel-qcow2-linux-5776ac2eb33164c77cdb4d2b48feee15616eaba3.tar.xz kernel-qcow2-linux-5776ac2eb33164c77cdb4d2b48feee15616eaba3.zip |
ARM:imx:fix pwm period value
According to imx pwm RM, the real period value should be
PERIOD value in PWMPR plus 2.
PWMO (Hz) = PCLK(Hz) / (period +2)
Signed-off-by: Jason Chen <jason.chen@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: stable@kernel.org
Diffstat (limited to 'arch/arm/plat-mxc/cpufreq.c')
0 files changed, 0 insertions, 0 deletions