kernel_samsung_a53x/drivers/net/ethernet/freescale
Xiaolei Wang 7fed11a8d5 net:fec: Add fec_enet_deinit()
[ Upstream commit bf0497f53c8535f99b72041529d3f7708a6e2c0d ]

When fec_probe() fails or fec_drv_remove() needs to release the
fec queue and remove a NAPI context, therefore add a function
corresponding to fec_enet_init() and call fec_enet_deinit() which
does the opposite to release memory and remove a NAPI context.

Fixes: 59d0f7465644 ("net: fec: init multi queue date structure")
Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240524050528.4115581-1-xiaolei.wang@windriver.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:10 +01:00
..
dpaa Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dpaa2 dpaa2-eth: increase the needed headroom to account for alignment 2024-11-18 12:11:10 +01:00
enetc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fman Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
fs_enet Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
fec.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fec_main.c net:fec: Add fec_enet_deinit() 2024-11-19 12:27:10 +01:00
fec_mpc52xx.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
fec_mpc52xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fec_mpc52xx_phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fec_ptp.c net: fec: avoid lock evasion when reading pps_enable 2024-11-19 12:27:09 +01:00
fsl_pq_mdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gianfar.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
gianfar.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gianfar_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ucc_geth.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
ucc_geth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ucc_geth_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgmac_mdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00