mirror of https://gitee.com/openkylin/linux.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 <tomoya-linux@dsn.okisemi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ce9736d4fb
commit
c69b90920a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue