Files
android_kernel_xiaomi_sm8450/drivers/tty
Tony Lindgren bb81ca33ac serial: 8250: omap: Fix freeing of resources on failed register
[ Upstream commit b9ab22c2bc8652324a803b3e2be69838920b4025 ]

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: 61929cf016 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:44:02 +02:00
..
2023-01-18 11:44:59 +01:00
2023-05-17 11:48:09 +02:00
2023-05-17 11:48:09 +02:00
2023-05-17 11:48:08 +02:00
2023-05-17 11:48:08 +02:00
2023-05-17 11:48:08 +02:00
2023-05-17 11:48:08 +02:00
2023-05-17 11:48:08 +02:00