From ea41e57ba3dd7ae013d1c6b7000ea1f8d43edeaa Mon Sep 17 00:00:00 2001 From: none Date: Wed, 24 Feb 2021 20:17:50 +0100 Subject: [PATCH] disable master at driver shutdown --- ddbridge/ddbridge-main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ddbridge/ddbridge-main.c b/ddbridge/ddbridge-main.c index 23a414b..f84536c 100644 --- a/ddbridge/ddbridge-main.c +++ b/ddbridge/ddbridge-main.c @@ -139,6 +139,7 @@ static void __devexit ddb_remove(struct pci_dev *pdev) ddb_buffers_free(dev); ddb_unmap(dev); + pci_clear_master(pdev); pci_set_drvdata(pdev, NULL); pci_disable_device(pdev); }