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