diff options
| author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-08 14:57:39 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-16 13:20:26 +0100 |
| commit | 58b0bd9a4ae055ad4a77c620421ce3a971f943e0 (patch) | |
| tree | 99914d78a17ad2c762b8bccc3f67e78a41a869a9 /include/linux/extcon | |
| parent | 62434a569629ec379b62a25eb70228628be44bf4 (diff) | |
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 'include/linux/extcon')
0 files changed, 0 insertions, 0 deletions
