btmrvl: use dt's irqflags for wakeup pin
authorJeffy Chen <jeffy.chen@rock-chips.com>
Mon, 23 Jan 2017 04:18:53 +0000 (12:18 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Feb 2017 16:25:20 +0000 (17:25 +0100)
Use irqflags parsed from dt.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_sdio.c

index 796f7194a772984863c4f49335f8523651fc1a5d..23711fe9e0a53a17ffadbade604d0363b63fa51a 100644 (file)
@@ -101,8 +101,7 @@ static int btmrvl_sdio_probe_of(struct device *dev,
                } else {
                        ret = devm_request_irq(dev, cfg->irq_bt,
                                               btmrvl_wake_irq_bt,
-                                              IRQF_TRIGGER_LOW,
-                                              "bt_wake", cfg);
+                                              0, "bt_wake", cfg);
                        if (ret) {
                                dev_err(dev,
                                        "Failed to request irq_bt %d (%d)\n",