]> git.baikalelectronics.ru Git - kernel.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)
commit6fa0e8c25b916cd681f467092fb436480c2542f1
tree51a789d5895e6560a564db8aa8eae72b83a8c96e
parent0019eabc78b8a8f3ce2e782f6e89f0917270c7c3
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: 9ae87bd74be6 ("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