Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18edbc60 authored by Gaurav Singhal's avatar Gaurav Singhal
Browse files

NFC: Fix interrupt state in recovery



If read function is waiting for interrupt and after that
NFCC goes to recovery, MW will call ioctl (0) and ioctl (1),
In ioctl (0) call we are disabling interrupt so read function
was waiting for interrupt and ioctl call has disabled interrupt,
now there is no possibility interrupt will be enabled again
because only read function enables the interrupt.

Enabled interrupt in ioctl (1) so that we can receive data
after reset/recovery.

Change-Id: I1677a50129534b1eaa4b8c20820a15db299cd9c1
Signed-off-by: default avatarGaurav Singhal <gsinghal@codeaurora.org>
parent 72be67e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment