Patch "Input: iqs269a - increase interrupt handler return delay" has been added to the 5.10-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    Input: iqs269a - increase interrupt handler return delay

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     input-iqs269a-increase-interrupt-handler-return-dela.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 20f687d958723ae9b25a476d2e9ca9bee1e6a472
Author: Jeff LaBundy <jeff@xxxxxxxxxxx>
Date:   Tue Jan 3 11:58:59 2023 -0600

    Input: iqs269a - increase interrupt handler return delay
    
    [ Upstream commit e023cc4abde3c01b895660b0e5a8488deb36b8c1 ]
    
    The time the device takes to deassert its RDY output following an
    I2C stop condition scales with the core clock frequency.
    
    To prevent level-triggered interrupts from being reasserted after
    the interrupt handler returns, increase the time before returning
    to account for the worst-case delay (~140 us) plus margin.
    
    Fixes: 04e49867fad1 ("Input: add support for Azoteq IQS269A")
    Signed-off-by: Jeff LaBundy <jeff@xxxxxxxxxxx>
    Reviewed-by: Mattijs Korpershoek <mkorpershoek@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/Y7Rs484ypy4dab5G@nixie71
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/input/misc/iqs269a.c b/drivers/input/misc/iqs269a.c
index ea3c97c5f764f..ea3401a1000f0 100644
--- a/drivers/input/misc/iqs269a.c
+++ b/drivers/input/misc/iqs269a.c
@@ -153,7 +153,7 @@
 #define IQS269_PWR_MODE_POLL_SLEEP_US		IQS269_ATI_POLL_SLEEP_US
 #define IQS269_PWR_MODE_POLL_TIMEOUT_US		IQS269_ATI_POLL_TIMEOUT_US
 
-#define iqs269_irq_wait()			usleep_range(100, 150)
+#define iqs269_irq_wait()			usleep_range(200, 250)
 
 enum iqs269_local_cap_size {
 	IQS269_LOCAL_CAP_SIZE_0,



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux