btmrvl: use dt's irqflags for wakeup pin
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>
This commit is contained in:
parent
fd1a88da81
commit
ffb955dba6
|
@ -101,8 +101,7 @@ static int btmrvl_sdio_probe_of(struct device *dev,
|
||||||
} else {
|
} else {
|
||||||
ret = devm_request_irq(dev, cfg->irq_bt,
|
ret = devm_request_irq(dev, cfg->irq_bt,
|
||||||
btmrvl_wake_irq_bt,
|
btmrvl_wake_irq_bt,
|
||||||
IRQF_TRIGGER_LOW,
|
0, "bt_wake", cfg);
|
||||||
"bt_wake", cfg);
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev,
|
dev_err(dev,
|
||||||
"Failed to request irq_bt %d (%d)\n",
|
"Failed to request irq_bt %d (%d)\n",
|
||||||
|
|
Loading…
Reference in New Issue