Files
Sherry Sun b5c4b1da1e tty: serial: imx: Only configure the wake register when device is set as wakeup source
[ Upstream commit d55f3d2375 ]

Currently, the i.MX UART driver enables wake-related registers for all
UART devices by default. However, this is unnecessary for devices that
are not configured as wakeup sources. To address this, add a
device_may_wakeup() check before configuring the UART wake-related
registers.

Fixes: db1a9b5500 ("tty: serial: imx: Allow UART to be a source for wakeup")
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251002045259.2725461-2-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 13:59:21 +01:00
..
2025-04-25 13:42:35 +02:00
2023-08-11 21:12:47 +02:00
2023-12-08 12:02:38 +01:00
2025-04-25 13:46:31 +02:00