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-12-12 18:40:19 +01:00
2023-09-18 11:18:08 +02:00
2025-03-20 08:10:40 -07:00
2025-04-28 10:13:28 +02:00