diff options
author | Brecht Neyrinck <bnrn@psicontrol.com> | 2015-05-06 07:57:48 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-15 17:20:47 (GMT) |
commit | b2580877b599f94730d8d174e0d83cb89217e2d6 (patch) | |
tree | ee3adaf700a5beb3bf0111dc321e1b157984b795 /arch/arm/imx-common | |
parent | 0e1f991efb85520590fba6ad7955116a7bd499d4 (diff) | |
download | u-boot-fsl-qoriq-b2580877b599f94730d8d174e0d83cb89217e2d6.tar.xz |
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>
Diffstat (limited to 'arch/arm/imx-common')
0 files changed, 0 insertions, 0 deletions