diff options
Diffstat (limited to 'drivers/pci/msi.c')
-rw-r--r-- | drivers/pci/msi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 30250631efe7..f45b74fcc059 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -1434,6 +1434,9 @@ struct irq_domain *pci_msi_create_irq_domain(struct fwnode_handle *fwnode, | |||
1434 | { | 1434 | { |
1435 | struct irq_domain *domain; | 1435 | struct irq_domain *domain; |
1436 | 1436 | ||
1437 | if (WARN_ON(info->flags & MSI_FLAG_LEVEL_CAPABLE)) | ||
1438 | info->flags &= ~MSI_FLAG_LEVEL_CAPABLE; | ||
1439 | |||
1437 | if (info->flags & MSI_FLAG_USE_DEF_DOM_OPS) | 1440 | if (info->flags & MSI_FLAG_USE_DEF_DOM_OPS) |
1438 | pci_msi_domain_update_dom_ops(info); | 1441 | pci_msi_domain_update_dom_ops(info); |
1439 | if (info->flags & MSI_FLAG_USE_DEF_CHIP_OPS) | 1442 | if (info->flags & MSI_FLAG_USE_DEF_CHIP_OPS) |