+2
−2
Loading
GCC can't always determine that the duty, period and prescaler values
are initialized when returning from sun4i_pwm_calculate(), so help out a
little by initializing them to 0.
Signed-off-by:
Thierry Reding <thierry.reding@gmail.com>