aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2013-01-03 08:44:15 +1300
committerThierry Reding <thierry.reding@avionic-design.de>2013-01-09 08:17:04 +0100
commit8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1 (patch)
treea21f94140bdfe4f29a74d42946011f10e729f6c9 /Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
parentpwm: atmel: add Timer Counter Block PWM driver (diff)
downloadlinux-dev-8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1.tar.xz
linux-dev-8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1.zip
pwm: vt8500: Register write busy test performed incorrectly
Correct operation for register writes is to perform a busy-wait after writing the register. Currently the busy wait it performed before, meaning subsequent register writes to bitfields may occur before the previous field has been updated. Also, all registers are defined as 32-bit read/write. Change pwm_busy_wait() to use readl rather than readb. Improve readability of code with defines for registers and bitfields. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/vt8500-pwm.txt')
0 files changed, 0 insertions, 0 deletions