summaryrefslogtreecommitdiff
path: root/drivers/dax
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2020-10-28 17:48:20 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-30 11:51:46 +0100
commitf3ede933fbc771ecffa8e23437138c2ccfae5779 (patch)
treed3cbb83ae3ee2253a6f3a2555f1d8876e6d6855b /drivers/dax
parentf133bfbe1201a8107961b0825231bc81746b9075 (diff)
downloadlinux-f3ede933fbc771ecffa8e23437138c2ccfae5779.tar.gz
linux-f3ede933fbc771ecffa8e23437138c2ccfae5779.tar.bz2
linux-f3ede933fbc771ecffa8e23437138c2ccfae5779.zip
clk: tegra: Do not return 0 on failure
commit 6160aca443148416994c022a35c77daeba948ea6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions