checks: Make interrupt_provider check dependent on interrupts_extended_is_cell

If '#interrupt-cells' doesn't pass checks, no reason to run interrupt
provider check.

Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Message-Id: <20211011191245.1009682-1-robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Rob Herring 2021-10-11 14:12:41 -05:00 committed by David Gibson
parent 37fd700685
commit 52a16fd728

View file

@ -1587,7 +1587,7 @@ static void check_interrupt_provider(struct check *c,
FAIL(c, dti, node, FAIL(c, dti, node,
"Missing #address-cells in interrupt provider"); "Missing #address-cells in interrupt provider");
} }
WARNING(interrupt_provider, check_interrupt_provider, NULL); WARNING(interrupt_provider, check_interrupt_provider, NULL, &interrupts_extended_is_cell);
static void check_interrupts_property(struct check *c, static void check_interrupts_property(struct check *c,
struct dt_info *dti, struct dt_info *dti,