kernel_samsung_a53x/drivers/net/ethernet/broadcom
Vitalii Mordan 6e7261c695 eth: bcmsysport: fix call balance of priv->clk handling routines
[ Upstream commit b255ef45fcc2141c1bf98456796abb956d843a27 ]

Check the return value of clk_prepare_enable to ensure that priv->clk has
been successfully enabled.

If priv->clk was not enabled during bcm_sysport_probe, bcm_sysport_resume,
or bcm_sysport_open, it must not be disabled in any subsequent execution
paths.

Fixes: 31bc72d97656 ("net: systemport: fetch and use clock resources")
Signed-off-by: Vitalii Mordan <mordan@ispras.ru>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20241227123007.2333397-1-mordan@ispras.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-15 16:29:53 +01:00
..
bnx2x bnx2x: Fix multiple UBSAN array-index-out-of-bounds 2024-11-19 14:19:42 +01:00
bnxt bnxt_en: Reserve rings after PCIe AER recovery if NIC interface is down 2024-12-17 13:24:16 +01:00
genet net: bcmgenet: synchronize UMAC_CMD access 2024-11-19 12:26:38 +01:00
b44.c net: b44: set pause params only when interface is up 2024-11-19 11:32:39 +01:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bcmsysport.c eth: bcmsysport: fix call balance of priv->clk handling routines 2025-01-15 16:29:53 +01:00
bcmsysport.h
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c net: ethernet: bgmac-platform: fix an OF node reference leak 2025-01-15 16:29:41 +01:00
bgmac.c
bgmac.h
bnx2.c
bnx2.h
bnx2_fw.h
cnic.c
cnic.h
cnic_defs.h
cnic_if.h
Kconfig
Makefile
sb1250-mac.c