diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2013-01-03 08:44:15 +1300 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2013-01-09 08:17:04 +0100 |
commit | 8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1 (patch) | |
tree | a21f94140bdfe4f29a74d42946011f10e729f6c9 /Documentation/devicetree | |
parent | 9421bade0765d8ffb86b8a99213b611278a3542a (diff) | |
download | op-kernel-dev-8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1.zip op-kernel-dev-8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions