History

mfd: max77620: Do not allocate IRQs upfront

regmap_add_irq_chip() will try to allocate all of the IRQ descriptors upfront if passed a non-zero irq_base parameter. However, the intention is to allocate IRQ descriptors on an as-needed basis if possible. Pass 0 instead of -1 to fix that use-case.

Thierry Reding committed 7 years ago

Commit 7f0e60c1 parent f5b4c8b2 files · +2 −4Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mfd/max77620.h+0−1
@@ -329,7 +329,6 @@ struct max77620_chip { · 328 unmodified lines
329 struct regmap *rmap;329 struct regmap *rmap;
330 330
331 int chip_irq;331 int chip_irq;
332 int irq_base;
333 332
334 /* chip id */333 /* chip id */
335 enum max77620_chip_id chip_id;334 enum max77620_chip_id chip_id;

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