Re: [PATCH] tty: serial: sc16is7xx: implemented our own oneshot-like handling
From: Sean Nyekjær <hidden>
Date: 2016-03-14 06:17:51
Also in:
linux-serial
From: Sean Nyekjær <hidden>
Date: 2016-03-14 06:17:51
Also in:
linux-serial
On 2016-03-13 20:05, Maarten Brock wrote:
I also wonder why this driver doesn't use threaded interrupts, just like the MAX310x driver it is based upon. Maarten
Me too.. :-) But both I and Sebastian Andrzej Siewior have proposed a PATCH for that but it was turned down.
quoted
This driver should use a threaded interrupt instead of trying to emulate it via dis/enable_irq and a worker thread. Then you simply call c16is7xx_port_irq() right from the interrupt routine and the core code deals with the interrupt mask/unmask automatically. Thanks, tglx
Remember not to top post :-) and use a proper mail client that uses In-Reply-To... /Sean