summaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk-bpmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/tegra/clk-bpmp.c')
-rw-r--r--drivers/clk/tegra/clk-bpmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-bpmp.c b/drivers/clk/tegra/clk-bpmp.c
index a9f3fb448de6..7bfba0afd778 100644
--- a/drivers/clk/tegra/clk-bpmp.c
+++ b/drivers/clk/tegra/clk-bpmp.c
@@ -159,7 +159,7 @@ static unsigned long tegra_bpmp_clk_recalc_rate(struct clk_hw *hw,
err = tegra_bpmp_clk_transfer(clk->bpmp, &msg);
if (err < 0)
- return err;
+ return 0;
return response.rate;
}