diff options
author | Brecht Neyrinck <bnrn@psicontrol.com> | 2015-05-06 09:57:48 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-15 19:20:47 +0200 |
commit | b2580877b599f94730d8d174e0d83cb89217e2d6 (patch) | |
tree | ee3adaf700a5beb3bf0111dc321e1b157984b795 /examples/Makefile | |
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>
Diffstat (limited to 'examples/Makefile')
0 files changed, 0 insertions, 0 deletions