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: ae1cca3f ("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>
Showing
Please register or sign in to comment