diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-04-11 17:52:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-11 12:58:39 -0700 |
commit | 7c360aa7cd6b469671fc2ea7a889516095cd0efe (patch) | |
tree | 00035a5b3bd4105e52495a40aad05d844e6efb55 | |
parent | 55345fb9ff68e2e5c0259c814542e72aec972c02 (diff) |
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: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/dwc2/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dwc2/pci.c b/drivers/staging/dwc2/pci.c index 0825eef0524f..80808d82aa74 100644 --- a/drivers/staging/dwc2/pci.c +++ b/drivers/staging/dwc2/pci.c @@ -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); 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); if (retval) dwc2_hcd_remove(hsotg); |