tty: serial: sc16is7xx: implemented our own oneshot-like handling
I also wonder why this driver doesn't use threaded interrupts, just like the MAX310x driver it is based upon.
Maarten
Quoted 9 lines
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
Quoted 4 lines · Maarten Brock
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 11 lines
Quoted 11 lines
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