diff options
| author | Vitalii Mordan <mordan@ispras.ru> | 2024-12-27 15:30:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 13:33:40 +0100 |
| commit | 5abb84101c0e6bb81c298b31056daab2b0d9da3f (patch) | |
| tree | 24f2666d31062ba9ec52f74a012e17f35d959ef5 /scripts/Makefile.vmlinux | |
| parent | b48a058db398c25d36bce36b7bfe7230b3871300 (diff) | |
| download | linux-5abb84101c0e6bb81c298b31056daab2b0d9da3f.tar.gz linux-5abb84101c0e6bb81c298b31056daab2b0d9da3f.tar.bz2 linux-5abb84101c0e6bb81c298b31056daab2b0d9da3f.zip | |
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>
Diffstat (limited to 'scripts/Makefile.vmlinux')
0 files changed, 0 insertions, 0 deletions
