lib: utils/irqchip: Skip initialize irqchip when dt is not enabled
authorXiang W <wxjstz@126.com>
Tue, 11 Jun 2024 11:19:30 +0000 (19:19 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 13 Jun 2024 13:03:52 +0000 (18:33 +0530)
commitb1c7c750f75dc027602688e4cb192d7b883c71d3
tree60442e59be3368a0e71b7fdb1f551ee6c85decdf
parent5e3ad7d577573e158bb2ca90ae647d64db3f4a32
lib: utils/irqchip: Skip initialize irqchip when dt is not enabled

When the dt node has a status property and the value is not ok or
okay, skip initializing irqchip.

Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/utils/irqchip/fdt_irqchip.c