serial: liteuart: Correct error rollback
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Jan 2023 17:38:57 +0000 (19:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Jan 2023 17:51:58 +0000 (18:51 +0100)
commited0400ad547c0b88d2f06ecf22a089eb2e84c9b7
tree2e4a19a43c69c7799d9995e3c026b88230890ef6
parenta3cf6b946e7eddaab7a2c2f61caf9c1763dcbed7
serial: liteuart: Correct error rollback

Goto to the correct rollback label instead of directly returning.

Fixes: 5602cf99dcdc ("serial: liteuart: add IRQ support for the RX path")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Gabriel Somlo <gsomlo@gmail.com>
Link: https://lore.kernel.org/r/20230123173857.40695-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/liteuart.c