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.
Enabled interrupt again in ioctl (1) so that we can receive
data after reset/recovery.
CRs-Fixed: 1109473
Change-Id: I1677a50129534b1eaa4b8c20820a15db299cd9c1
Signed-off-by:
Gaurav Singhal <gsinghal@codeaurora.org>
Loading
Please register or sign in to comment