diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-08 09:57:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-16 16:23:38 +0300 |
commit | 6e294d389023d3edf23dd6307a09aa367d7e3d6b (patch) | |
tree | b9af67626f5c0914dbdafde146d474b8c081f384 /drivers/leds/led-class-multicolor.c | |
parent | c746fa0f54c9ff3b73cd179b4491c2aa0df47dc1 (diff) | |
download | linux-6e294d389023d3edf23dd6307a09aa367d7e3d6b.tar.xz |
net: ethernet: lpc_eth: Handle error for clk_enable
[ Upstream commit 2169b79258c8be803d2595d6456b1e77129fe154 ]
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 <jiasheng@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/leds/led-class-multicolor.c')
0 files changed, 0 insertions, 0 deletions