Re: [PATCHv2 1/2] pwm: vt8500: Register write busy test performed incorrectly

2013-01-08 Thread Thierry Reding
On Thu, Jan 03, 2013 at 08:44:15AM +1300, Tony Prisk wrote: > 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 u

[PATCHv2 1/2] pwm: vt8500: Register write busy test performed incorrectly

2013-01-02 Thread Tony Prisk
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. Chang