Commit ae96841e authored by Lin Ruizhe's avatar Lin Ruizhe Committed by Zheng Zengkai
Browse files

amba-pl011: Fix no irq issue due to no IRQ domain found

hulk inclusion
category: bugfix
bugzilla: 176552 https://gitee.com/openeuler/kernel/issues/I4DDEL



-------------------------------------------------

If pl011 interrupt is connected to MBIGEN interrupt controller,
because the mbigen initialization is too late, which will lead
to no IRQ due to no IRQ domain found, logs is shown below,
"irq: no irq domain found for uart0 !"

When dev->irq[0] is zero, try to get IRQ by of_irq_get() again,
and return -EPROBE_DEFER if the IRQ domain is not yet created.

Using deferred probing mechanism to fix the issue.

Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarLin ruizhe <linruizhe@huawei.com>
Signed-off-by: default avatarHe Ying <heying24@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 816fb911
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment