Commit f2ce3982 authored by Samuel Ortiz's avatar Samuel Ortiz

NFC: Set the IRQF_ONESHOT flag from the pn544_hci IRQ handler request

As we don't have a primary handler but only a threaded one, __setup_irq()
ends up failing if we don't set this flag.
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 58637c9b
...@@ -848,8 +848,8 @@ static int __devinit pn544_hci_probe(struct i2c_client *client, ...@@ -848,8 +848,8 @@ static int __devinit pn544_hci_probe(struct i2c_client *client,
pn544_hci_platform_init(info); pn544_hci_platform_init(info);
r = request_threaded_irq(client->irq, NULL, pn544_hci_irq_thread_fn, r = request_threaded_irq(client->irq, NULL, pn544_hci_irq_thread_fn,
IRQF_TRIGGER_RISING, PN544_HCI_DRIVER_NAME, IRQF_TRIGGER_RISING | IRQF_ONESHOT,
info); PN544_HCI_DRIVER_NAME, info);
if (r < 0) { if (r < 0) {
dev_err(&client->dev, "Unable to register IRQ handler\n"); dev_err(&client->dev, "Unable to register IRQ handler\n");
goto err_rti; goto err_rti;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment