diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2020-10-29 03:48:20 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-11-20 19:19:46 +0300 |
commit | 6160aca443148416994c022a35c77daeba948ea6 (patch) | |
tree | b3a9450ab0369f2901aa17e19200bbaa0a3362f9 /Makefile | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
download | linux-6160aca443148416994c022a35c77daeba948ea6.tar.xz |
clk: tegra: Do not return 0 on failure
Return values from read_dt_param() will be either TRUE (1) or
FALSE (0), while dfll_fetch_pwm_params() returns 0 on success
or an ERR code on failure.
So this patch fixes the bug of returning 0 on failure.
Fixes: 36541f0499fe ("clk: tegra: dfll: support PWM regulator control")
Cc: <stable@vger.kernel.org>
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions