diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-12-18 13:18:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-19 08:23:20 +0100 |
commit | 32cf21ac4edd6c0d5b9614368a83bcdc68acb031 (patch) | |
tree | 6b0d2ecb9dd9458c50ceab83b4501a6656bf7625 /drivers/tty/serial/zs.c | |
parent | 82b1b2ec5d4057af11395ac03209884369418a0d (diff) | |
download | linux-32cf21ac4edd6c0d5b9614368a83bcdc68acb031.tar.bz2 |
serial: uartps: Fix error path when alloc failed
When cdns_uart_console allocation failed there is a need to also clear
ID from ID list.
Fixes: ae1cca3fa347 ("serial: uartps: Change uart ID port allocation")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/zs.c')
0 files changed, 0 insertions, 0 deletions