On Thu, May 2, 2024 at 9:38 PM Kevin Hao <haoke...@gmail.com> wrote:
> 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. > I already have this fixed locally, but thanks for the patch! Bruce > > 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 > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13887): https://lists.yoctoproject.org/g/linux-yocto/message/13887 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] -=-=-=-=-=-=-=-=-=-=-=-