summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorChunyan Zhang <chunyan.zhang@unisoc.com>2020-05-19 11:00:36 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-25 15:33:00 +0200
commit66820e46384260f7c4ec863a804d6d44fca1b68d (patch)
tree13853d7ce8f93e01331aea17d2a15bf80b2faf9e /net/sunrpc
parent4e26171e9710c143d41b0e02fcfb5fc4f3756ca2 (diff)
clk: sprd: return correct type of value for _sprd_pll_recalc_rate
[ Upstream commit c2f30986d418f26abefc2eec90ebf06716c970d2 ] The function _sprd_pll_recalc_rate() defines return value to unsigned long, but it would return a negative value when malloc fail, changing to return its parent_rate makes more sense, since if the callback .recalc_rate() is not set, the framework returns the parent_rate as well. Fixes: 3e37b005580b ("clk: sprd: add adjustable pll support") Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Link: https://lkml.kernel.org/r/20200519030036.1785-2-zhang.lyra@gmail.com Reviewed-by: Baolin Wang <baolin.wang7@gmail.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions