diff options
author | Bartosz Golaszewski <[email protected]> | 2023-06-21 15:55:37 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-22 19:33:47 -0700 |
commit | c4fc88ad2a765224a648db8ab35f125e120fe41b (patch) | |
tree | 3a48b17850336d83d07b1aae3e952619a9b29f2e /scripts/bpf_doc.py | |
parent | b9ec61be2d91cc09b5e7302e65442e6d71f0ed93 (diff) |
net: stmmac: fix double serdes powerdown
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 <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Acked-by: Junxiao Chang <[email protected]>
Reviewed-by: Andrew Halaney <[email protected]>
Tested-by: Andrew Halaney <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions