From: Tomoya Date: Mon, 7 Feb 2011 23:29:03 +0000 (+0000) Subject: pch_can: fix module reload issue with MSI X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c69b90920a36b88ab0d649963d81355d865eeb05;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Tomoya MORINAGA Signed-off-by: David S. Miller --- diff --git a/drivers/net/can/pch_can.c b/drivers/net/can/pch_can.c index 342d514c5e84..7d8bc128044c 100644 --- a/drivers/net/can/pch_can.c +++ b/drivers/net/can/pch_can.c @@ -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; }