diff options
| author | John Garry <[email protected]> | 2018-08-30 17:08:50 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-18 16:07:25 +0200 |
| commit | a27d938251ef40c43db81af16fc26b2cec181d4d (patch) | |
| tree | 541b488cb94874fd05ab91e11b54b4bc32df566b /drivers/gpu/drm/lima/lima_object.c | |
| parent | c362272bdea32bf048d6916b0a2dc485eb9cf787 (diff) | |
serial: 8250_of: Fix for lack of interrupt support
In commit c58caaab3bf8 ("serial: 8250: of: Defer probe on missing IRQ"), a
check was added for the UART driver being probed prior to the parent IRQ
controller.
Unfortunately this breaks certain boards which have no interrupt support,
like Huawei D03.
Indeed, the 8250 DT bindings state that interrupts should be supported -
not must.
To fix, switch from irq_of_parse_and_map() to of_irq_get(), which
does relay whether the IRQ host controller domain is not ready, i.e.
defer probe, instead of assuming it.
Fixes: c58caaab3bf8 ("serial: 8250: of: Defer probe on missing IRQ")
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
Tested-by: Alexander Sverdlin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_object.c')
0 files changed, 0 insertions, 0 deletions