diff options
author | Kangjie Lu <kjlu@umn.edu> | 2018-12-25 20:57:14 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-27 16:20:44 -0800 |
commit | f86a3b83833e7cfe558ca4d70b64ebc48903efec (patch) | |
tree | 35ac59cc154f9fe2b3ccb3cb47872e3681d0b484 /drivers/net/can/grcan.c | |
parent | 2d822f2dbab7f4c820f72eb8570aacf3f35855bd (diff) |
net: stmicro: fix a missing check of clk_prepare
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>
Diffstat (limited to 'drivers/net/can/grcan.c')
0 files changed, 0 insertions, 0 deletions