]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-loongson: fix missing pci_disable_device() in loongson_dwmac_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 8 Nov 2022 11:46:46 +0000 (19:46 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Nov 2022 10:03:00 +0000 (11:03 +0100)
commitfe5b3ce8b4377e543960220f539b989a927afd8a
tree9551fd33745808b83a5547b086af1c6508e51883
parentf2d45fdf9a0ed2c94c01c422a0d0add8ffd42099
stmmac: dwmac-loongson: fix missing pci_disable_device() in loongson_dwmac_probe()

Add missing pci_disable_device() in the error path in loongson_dwmac_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