提交 7c360aa7 编写于 作者: M Matthijs Kooijman 提交者: Greg Kroah-Hartman

staging: dwc2: don't pass IRQ_LEVEL to devm_request_irq

It seems this flag is intended to pass to irq_set_status_flags, not
request_irq, and is not available on all architectures. Its value
corresponds to IRQF_PROBE_SHARED, which shouldn't be needed for this
driver, so removing this flag should be safe.
Signed-off-by: NMatthijs Kooijman <matthijs@stdin.nl>
Acked-by: NPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 55345fb9
...@@ -157,7 +157,7 @@ static int dwc2_driver_probe(struct pci_dev *dev, ...@@ -157,7 +157,7 @@ static int dwc2_driver_probe(struct pci_dev *dev,
dev_dbg(&dev->dev, "registering common handler for irq%d\n", dev->irq); dev_dbg(&dev->dev, "registering common handler for irq%d\n", dev->irq);
retval = devm_request_irq(&dev->dev, dev->irq, dwc2_handle_common_intr, retval = devm_request_irq(&dev->dev, dev->irq, dwc2_handle_common_intr,
IRQF_SHARED | IRQ_LEVEL, dev_name(&dev->dev), IRQF_SHARED, dev_name(&dev->dev),
hsotg); hsotg);
if (retval) if (retval)
dwc2_hcd_remove(hsotg); dwc2_hcd_remove(hsotg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册