Thread (2 messages) 2 messages, 2 authors, 1d ago

Re: [PATCH v2] Input: serport - defer write wakeups to a worker

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2026-10-28 17:10:04
Also in: linux-serial, lkml

Hi James,

On Wed, Oct 28, 2026 at 01:14:19AM -0600, James Hilliard wrote:
quoted hunk ↗ jump to hunk
@@ -54,6 +56,11 @@ static int serport_serio_open(struct serio *serio)
 	guard(spinlock_irqsave)(&serport->lock);
I changed this to scoped_guard() and applied.
quoted hunk ↗ jump to hunk
 	set_bit(SERPORT_ACTIVE, &serport->flags);
 
+	if (serio->drv->write_wakeup) {
+		enable_work(&serport->write_wakeup);
+		set_bit(TTY_DO_WRITE_WAKEUP, &serport->tty->flags);
+	}
+
 	return 0;
 }
Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help