diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-08 09:40:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-16 16:23:38 +0300 |
commit | c746fa0f54c9ff3b73cd179b4491c2aa0df47dc1 (patch) | |
tree | 986dd86d0b567242bf2ca146762639db542f9927 /drivers/leds/led-class-multicolor.c | |
parent | 5548c81e97ab85fb03199d7080b8441957bdea3a (diff) | |
download | linux-c746fa0f54c9ff3b73cd179b4491c2aa0df47dc1.tar.xz |
net: ethernet: ti: cpts: Handle error for clk_enable
[ Upstream commit 6babfc6e6fab068018c36e8f6605184b8c0b349d ]
As the potential failure of the clk_enable(),
it should be better to check it and return error
if fails.
Fixes: 8a2c9a5ab4b9 ("net: ethernet: ti: cpts: rework initialization/deinitialization")
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