From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Maarten Brock" Subject: Re: [PATCH] tty: serial: sc16is7xx: implemented our own oneshot-like handling Date: Sun, 13 Mar 2016 20:05:58 +0100 Message-ID: <20160313200558.06543fce@kerio.vanmierlo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Return-path: Sender: linux-rt-users-owner@vger.kernel.org To: linux-serial@vger.kernel.org Cc: Thomas Gleixner , Sean Nyekjaer , Josh Cartwright , Greg Kroah-Hartman , linux-rt-users@vger.kernel.org, Jon Ringle List-Id: linux-serial@vger.kernel.org I also wonder why this driver doesn't use threaded interrupts, just like the MAX310x driver it is based upon. Maarten > 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