From: Kevin Hao <kexin....@windriver.com>

The rt commit 3e8aef19aa6f ("serial: core: Use port lock wrappers") has
changed to use the port lock wrappers in function
serial_port_runtime_resume(). But that was mangled when merging v6.6.29.
Restore it back.

Signed-off-by: Kevin Hao <kexin....@windriver.com>
---
 drivers/tty/serial/serial_port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/serial_port.c b/drivers/tty/serial/serial_port.c
index a8faed70ddbb..7d51e66ec88b 100644
--- a/drivers/tty/serial/serial_port.c
+++ b/drivers/tty/serial/serial_port.c
@@ -42,7 +42,7 @@ static int serial_port_runtime_resume(struct device *dev)
                port->ops->start_tx(port);
 
 unlock:
-       spin_unlock_irqrestore(&port->lock, flags);
+       uart_port_unlock_irqrestore(port, flags);
 
 out:
        pm_runtime_mark_last_busy(dev);
-- 
2.44.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13885): 
https://lists.yoctoproject.org/g/linux-yocto/message/13885
Mute This Topic: https://lists.yoctoproject.org/mt/105880612/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to