commit | b2580877b599f94730d8d174e0d83cb89217e2d6 | [log] [tgz] |
---|---|---|
author | Brecht Neyrinck <bnrn@psicontrol.com> | Wed May 06 09:57:48 2015 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri May 15 19:20:47 2015 +0200 |
tree | ee3adaf700a5beb3bf0111dc321e1b157984b795 | |
parent | 0e1f991efb85520590fba6ad7955116a7bd499d4 [diff] |
bugfix i.mx6 pwm: prevent overflow of period_c * duty_ns Prevent overflow by casting duty_ns to ull first. This bug came up when trying to create a 200 Hz PWM Signed-off-by: Brecht Neyrinck <bnrn@psicontrol.com> Acked-by: Heiko Schocher<hs@denx.de>