Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c69b9092 authored by Tomoya's avatar Tomoya Committed by David S. Miller
Browse files

pch_can: fix module reload issue with MSI



Currently, in case reload pch_can,
pch_can not to be able to catch interrupt.

The cause is bus-master is not set in pch_can.
Thus, add enabling bus-master processing.

Signed-off-by: default avatarTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce9736d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1238,6 +1238,7 @@ static int __devinit pch_can_probe(struct pci_dev *pdev,
		priv->use_msi = 0;
	} else {
		netdev_err(ndev, "PCH CAN opened with MSI\n");
		pci_set_master(pdev);
		priv->use_msi = 1;
	}