Brecht Neyrinck b2580877b5 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>
2015-05-15 19:20:47 +02:00
..
2015-04-29 21:02:33 -06:00
2015-03-30 23:24:38 -05:00
2015-04-10 14:23:23 +02:00
2015-04-29 21:02:33 -06:00
2015-04-29 21:02:33 -06:00