1
0
Fork 0
alistair23-linux/drivers/net/ethernet/atheros
Huang Guobin 107ea66643 net: ag71xx: add missed clk_disable_unprepare in error path of probe
[ Upstream commit befc113c56 ]

The ag71xx_mdio_probe() forgets to call clk_disable_unprepare() when
of_reset_control_get_exclusive() failed. Add the missed call to fix it.

Fixes: d51b6ce441 ("net: ethernet: add ag71xx driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Huang Guobin <huangguobin4@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-07-29 10:18:33 +02:00
..
alx net: alx: fix race condition in alx_remove 2020-06-30 15:37:04 -04:00
atl1c net: atheros: Use dev_get_drvdata 2019-07-23 13:02:41 -07:00
atl1e net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
atlx net: atheros: Use dev_get_drvdata 2019-07-23 13:02:41 -07:00
Kconfig net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
Makefile net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
ag71xx.c net: ag71xx: add missed clk_disable_unprepare in error path of probe 2020-07-29 10:18:33 +02:00