lkml.org 
[lkml]   [2023]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] serial: 8250_dw: fall back to poll if there's no interrupt
Date
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.

patch1 makes the interrupt property in dt-binding optional
patch2 falls back to poll if there's no interrupt

since v1:
- adopt Andy's suggestion to simplified the code

Jisheng Zhang (2):
dt-bindings: serial: snps-dw-apb-uart: make interrupt optional
serial: 8250_dw: fall back to poll if there's no interrupt

.../devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 -
drivers/tty/serial/8250/8250_dw.c | 5 ++++-
2 files changed, 4 insertions(+), 2 deletions(-)

--
2.40.1

\
 
 \ /
  Last update: 2023-08-06 11:32    [W:0.104 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site