]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
stmmac: dwmac-loongson: fix missing pci_disable_msi() while module exiting
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 8 Nov 2022 11:46:45 +0000 (19:46 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Nov 2022 10:03:00 +0000 (11:03 +0100)
commitf2d45fdf9a0ed2c94c01c422a0d0add8ffd42099
tree51a789d5895e6560a564db8aa8eae72b83a8c96e
parentc6092ea1e6d7bd12acd881f6aa2b5054cd70e096
stmmac: dwmac-loongson: fix missing pci_disable_msi() while module exiting

pci_enable_msi() has been called in loongson_dwmac_probe(),
so pci_disable_msi() needs be called in remove path and error
path of probe().

Fixes: 30bba69d7db4 ("stmmac: pci: Add dwmac support for Loongson")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c