WSL2-Linux-Kernel/drivers/phy/st
Dan Carpenter 94b16ca86a phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
[ Upstream commit cfc826c88a ]

This error path needs to decrement "usbphyc->n_pll_cons.counter" before
returning.

Fixes: 5b1af71280 ("phy: stm32: rework PLL Lock detection")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220112111724.GB3019@kili
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-16 12:56:22 +01:00
..
Kconfig
Makefile
phy-miphy28lp.c
phy-spear1310-miphy.c
phy-spear1340-miphy.c
phy-stih407-usb.c
phy-stm32-usbphyc.c phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable() 2022-02-16 12:56:22 +01:00