mbox series

[v3,0/2] two fixes on sprd serial driver

Message ID 20200318105049.19623-1-zhang.lyra@gmail.com
Headers show
Series two fixes on sprd serial driver | expand

Message

Chunyan Zhang March 18, 2020, 10:50 a.m. UTC
From: Chunyan Zhang <chunyan.zhang@unisoc.com>

Changes from v2:
* Return -EINVAL for both kinds of errors for calling of_alias_get_id(),
to avoid return a positive value as error number if index is larger
than the array size;
* removed cleanup for sprd_port.

Chunyan Zhang (2):
  serial: sprd: getting port index via serial alias only
  serial: sprd: remove redundant sprd_port cleanup

 drivers/tty/serial/sprd_serial.c | 40 +++++---------------------------
 1 file changed, 6 insertions(+), 34 deletions(-)