diff options
author | Kangjie Lu <kjlu@umn.edu> | 2018-12-25 20:57:14 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 15:27:02 +0100 |
commit | b801a2820eda33e6ad76adf312aa2518d21d9e5d (patch) | |
tree | 100ea108de3a79f179c123cb17b98039ebd195a8 /net/tipc | |
parent | a67d613688de361d4f1e79eab0827cdcf3847439 (diff) |
net: stmicro: fix a missing check of clk_prepare
[ Upstream commit f86a3b83833e7cfe558ca4d70b64ebc48903efec ]
clk_prepare() could fail, so let's check its status, and if it fails,
return its error code upstream.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions