diff options
| author | Jason Gunthorpe <[email protected]> | 2016-10-19 21:03:41 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-11-01 18:31:49 +0000 |
| commit | 812d47889a8e418d7bea9bec383581a34c19183e (patch) | |
| tree | 7be505e76bd8e2e929b91cce5ffa8a0d6f60b272 /drivers/fpga/altera-fpga2sdram.c | |
| parent | gpio: of: fix GPIO drivers with multiple gpio_chip for a single node (diff) | |
| download | kernel-812d47889a8e418d7bea9bec383581a34c19183e.tar.gz kernel-812d47889a8e418d7bea9bec383581a34c19183e.zip | |
gpio/mvebu: Use irq_domain_add_linear
This fixes the irq allocation in this driver to not print:
irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
Which happens because the driver already called irq_alloc_descs()
and so the change to use irq_domain_add_simple resulted in calling
irq_alloc_descs() twice.
Modernize the irq allocation in this driver to use the
irq_domain_add_linear flow directly and eliminate the use of
irq_domain_add_simple/legacy
Fixes: ce931f571b6d ("gpio/mvebu: convert to use irq_domain_add_simple()")
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
