tty: serial: uartlite: Support probe deferral
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Fri, 27 Nov 2020 10:19:53 +0000 (11:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Dec 2020 15:51:40 +0000 (16:51 +0100)
commit0b60525b4e88b0ae656b89733f577a76d474f07a
tree4a110550f112bd11e8bbef6abca7345da41cfc4e
parent62dcd9c59f324e484c1d655884e0101a988f6671
tty: serial: uartlite: Support probe deferral

Give uartlite a chance to be probed when IRQ controller will be finally
available and return potential -EPROBE_DEFER as-is. The condition "<="
has been changed to "<" to follow the recommendation in the header of
platform_get_irq().

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Link: https://lore.kernel.org/r/20201127101953.23700-1-alexander.sverdlin@nokia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c