Re: [BACKPORT 4.4.y 23/25] serial: sprd: clear timeout interrupt only rather than all interrupts

2019-03-25 Thread Greg KH
On Fri, Mar 22, 2019 at 04:44:14PM +0100, Arnd Bergmann wrote: > From: Lanqing Liu > > On Spreadtrum's serial device, nearly all of interrupts would be cleared > by hardware except timeout interrupt. This patch removed the operation > of clearing all interrupt in irq handler, instead added an if

[BACKPORT 4.4.y 23/25] serial: sprd: clear timeout interrupt only rather than all interrupts

2019-03-22 Thread Arnd Bergmann
From: Lanqing Liu On Spreadtrum's serial device, nearly all of interrupts would be cleared by hardware except timeout interrupt. This patch removed the operation of clearing all interrupt in irq handler, instead added an if statement to check if the timeout interrupt is supposed to be cleared.