Re: [PATCH v3] Input: atmel_mxt_ts - Fix lost interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 01, 2020 at 01:30:26PM +0100, Linus Walleij wrote:
> After commit 74d905d2d38a devices requiring the workaround
> for edge triggered interrupts stopped working.
> 
> The hardware needs the quirk to be used before even
> proceeding to check if the quirk is needed because
> mxt_acquire_irq() is called before mxt_check_retrigen()
> is called and at this point pending IRQs need to be
> checked, and if the workaround is not active, all
> interrupts will be lost from this point.
> 
> Solve this by switching the calls around.
> 
> Cc: Andre Müller <andre.muller@xxxxxx>
> Cc: Nick Dyer <nick.dyer@xxxxxxxxxxx>
> Cc: Jiada Wang <jiada_wang@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: Andre Müller <andre.muller@xxxxxx>
> Tested-by: Andre Müller <andre.muller@xxxxxx>
> Suggested-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Fixes: 74d905d2d38a ("Input: atmel_mxt_ts - only read messages in mxt_acquire_irq() when necessary")
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Applied, thank you.

-- 
Dmitry



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux