]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
authorWang Kefeng <wangkefeng.wang@huawei.com>
Mon, 23 Aug 2021 09:41:42 +0000 (10:41 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 19 Oct 2021 09:30:52 +0000 (10:30 +0100)
commit07f7a3e53d483937f72d4cd5e52e26952f629e56
tree43f4f0c36102bcc459aa1a73668205881fd554d1
parentbce76923d88fa5334ca68cbf1027cc6fee43d30b
ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"

After commit 741e49fd1b68 ("of/irq: Get rid of NO_IRQ usage"),
no irq case has been removed, irq_of_parse_and_map() will return
0 in all cases when get error from parse and map an interrupt into
linux virq space.

amba_device_register() is only used on no-DT initialization, see
  s3c64xx_pl080_init() arch/arm/mach-s3c/pl080.c
  ep93xx_init_devices() arch/arm/mach-ep93xx/core.c

They won't set -1 to irq[0], so no need the warn.

This reverts commit c63d7871436ed65c2a1aa4335175c799a1ced1cc.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
drivers/amba/bus.c