Skip to content
Snippets Groups Projects
Commit 735b0567 authored by Vladimir Karpovich's avatar Vladimir Karpovich Committed by Vineeta Srivastava
Browse files

asoc: fsa8500: Add IRQ state read retry.


If the IRQ status read failed due to i2c error, the interrupt
will not be cleared and the detection will not be called
anymore even if the i2c bus is recovered. Add a retry in 2 sec
for the case when IRQ status was not read correctly.
Also 10ms delay was added between short press and release button
events for better handling by the framework.
Signed-off-by: default avatarVladimir Karpovich <vkarpovich@motorola.com>

Change-Id: I2c95bbb66079a2bf1a94c61b06c933e7629d42a0
parent c9d719c5
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment