diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2016-10-20 00:03:41 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-11-01 21:31:49 +0300 |
commit | 812d47889a8e418d7bea9bec383581a34c19183e (patch) | |
tree | 7be505e76bd8e2e929b91cce5ffa8a0d6f60b272 /init/calibrate.c | |
parent | c7e9d39831a31682285cc31ddf7dd06c0fe59138 (diff) | |
download | linux-812d47889a8e418d7bea9bec383581a34c19183e.tar.xz |
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 <jgunthorpe@obsidianresearch.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions