diff options
author | Jiasheng Jiang <[email protected]> | 2022-03-08 14:57:39 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-03-09 12:15:20 +0000 |
commit | 2169b79258c8be803d2595d6456b1e77129fe154 (patch) | |
tree | 7fc3ed0588bff0ad881ad52574c1896e1ce7b243 /net/lapb/lapb_iface.c | |
parent | 2a760554dcba450d3ad61b32375b50ed6d59a87c (diff) |
net: ethernet: lpc_eth: Handle error for clk_enable
As the potential failure of the clk_enable(),
it should be better to check it and return error
if fails.
Fixes: b7370112f519 ("lpc32xx: Added ethernet driver")
Signed-off-by: Jiasheng Jiang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions