serial: 8250_dw: fall back to poll if there's no interrupt
authorJisheng Zhang <jszhang@kernel.org>
Sun, 6 Aug 2023 09:20:56 +0000 (17:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2023 13:29:29 +0000 (15:29 +0200)
commit22130dae0533c474e4e0db930a88caa9b397d083
treefa0cda6f33617266e24fa448369ee235ea5cd776
parente9f0dff15a96add74e8367bd1bca3085180ce80b
serial: 8250_dw: fall back to poll if there's no interrupt

When there's no irq(this can be due to various reasons, for example,
no irq from HW support, or we just want to use poll solution, and so
on), falling back to poll is still better than no support at all.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20230806092056.2467-3-jszhang@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c