summaryrefslogtreecommitdiff
path: root/rust/helpers/drm.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-09-11 12:09:52 +0100
committerJakub Kicinski <kuba@kernel.org>2025-09-14 12:01:03 -0700
commit586f1aebc9a112d5e76af045e38fda0632176fae (patch)
treec547629c633096413d90f7ab30cee78ffc22ea07 /rust/helpers/drm.c
parent454bbe5913b2c56a3b4c5bf85138b5382ba8b8e6 (diff)
net: stmmac: fix stmmac_xdp_open() clk_ptp_ref error cleanup
Neither stmmac_xdp_release() nor the normal paths of stmmac_xdp_open() touch clk_ptp_ref, so stmmac_xdp_open() should not be doing anything with this clock. However, in its error path, it calls stmmac_hw_teardown() which disables and unprepares this clock, which can lead to the clock state becoming unbalanced when the netdev is taken administratively down. Remove this call to stmmac_hw_teardown(), and as this is the last user of this function, remove the function as well. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/drm.c')
0 files changed, 0 insertions, 0 deletions