Skip to content
Commit 413c2a11 authored by Thierry Reding's avatar Thierry Reding
Browse files

pwm: sun4i: Initialize variables before use



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: default avatarThierry Reding <thierry.reding@gmail.com>
parent 0c73201c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment