[PATCH net] net: stmmac: fix double serdes powerdown

Jiri Pirko jiri at resnulli.us
Thu Jun 22 01:13:18 PDT 2023


Wed, Jun 21, 2023 at 03:55:37PM CEST, brgl at bgdev.pl wrote:
>From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
>
>Commit 49725ffc15fc ("net: stmmac: power up/down serdes in
>stmmac_open/release") correctly added a call to the serdes_powerdown()
>callback to stmmac_release() but did not remove the one from
>stmmac_remove() which leads to a doubled call to serdes_powerdown().
>
>This can lead to all kinds of problems: in the case of the qcom ethqos
>driver, it caused an unbalanced regulator disable splat.
>
>Fixes: 49725ffc15fc ("net: stmmac: power up/down serdes in stmmac_open/release")
>Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>

Reviewed-by: Jiri Pirko <jiri at nvidia.com>



More information about the linux-arm-kernel mailing list