1
0
Fork 0
alistair23-linux/drivers/net/ethernet/socionext
Wang Hai 9e3e96aa9a net: ethernet: ave: Fix error returns in ave_init
[ Upstream commit 1264d7fa3a ]

When regmap_update_bits failed in ave_init(), calls of the functions
reset_control_assert() and clk_disable_unprepare() were missed.
Add goto out_reset_assert to do this.

Fixes: 57878f2f46 ("net: ethernet: ave: add support for phy-mode setting of system controller")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-07-29 10:18:34 +02:00
..
Kconfig net: netsec: Use page_pool API 2019-07-01 19:27:08 -07:00
Makefile
netsec.c net: socionext: fix xdp_result initialization in netsec_process_rx 2020-02-01 09:34:39 +00:00
sni_ave.c net: ethernet: ave: Fix error returns in ave_init 2020-07-29 10:18:34 +02:00