summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2025-10-02 07:52:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-22 13:06:34 +0300
commitd55f3d2375ceeb08330d30f1e08196993c0b6583 (patch)
tree3cebdba88d66da3b2992cf3ae03e78c9a1402b0e /tools/lib/python
parent18bdfccf3c30b208b65b890f75ecc76fcb79e224 (diff)
downloadlinux-d55f3d2375ceeb08330d30f1e08196993c0b6583.tar.xz
tty: serial: imx: Only configure the wake register when device is set as wakeup source
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: db1a9b55004c ("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>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions