History

gpio: lynxpoint: set default handler to be handle_bad_irq()

We switch the default handler to be handle_bad_irq() instead of handle_simple_irq() (which was not correct anyway).

Andy Shevchenko committed 7 years ago

Commit 75e99bf1 parent 4c875401 file · +1 −1Browse files

Unified · Split

drivers/gpio/gpio-lynxpoint.c+1−1
@@ -377,7 +377,7 @@ static int lp_gpio_probe(struct platform_device *pdev) · 376 unmodified lines
377 return -ENOMEM;377 return -ENOMEM;
378 girq->parents[0] = (unsigned)irq_rc->start;378 girq->parents[0] = (unsigned)irq_rc->start;
379 girq->default_type = IRQ_TYPE_NONE;379 girq->default_type = IRQ_TYPE_NONE;
380 girq->handler = handle_simple_irq;380 girq->handler = handle_bad_irq;
381 }381 }
382 382
383 ret = devm_gpiochip_add_data(dev, gc, lg);383 ret = devm_gpiochip_add_data(dev, gc, lg);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t