Tony Lindgren b9ab22c2bc serial: 8250: omap: Fix freeing of resources on failed register
If serial8250_register_8250_port() fails, the SoC can hang as the
deferred PMQoS work will still run as is not flushed and removed.

Fixes: 61929cf0169d ("tty: serial: Add 8250-core based omap driver")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230508082014.23083-2-tony@atomide.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-13 19:33:56 +09:00
..
2023-03-24 09:44:43 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 12:07:50 -07:00
2022-09-22 16:12:34 +02:00
2023-03-17 15:01:09 +01:00
2023-04-27 11:53:57 -07:00
2022-09-22 16:12:34 +02:00