commit | 413c2a110d649a3a313ee91920e3d9373b9f2045 | [log] [tgz] |
---|---|---|
author | Thierry Reding <thierry.reding@gmail.com> | Mon Jan 20 15:22:37 2020 +0100 |
committer | Thierry Reding <thierry.reding@gmail.com> | Mon Jan 20 15:22:37 2020 +0100 |
tree | cff208dac5ef80c76eaab0d0ee791df1ef2c59a8 | |
parent | 0c73201c5c094256236b129799ab6761b491d8cd [diff] |
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: Thierry Reding <thierry.reding@gmail.com>