NFC: detect NFC wakeup complete

When waking up the nfcc, block for completion. NFC user space driver
needs to properly track the sleep/wake state of the NFCC for stability.
Poll on the i2c bus untill the wakeup bit or a timeout occurs.

CRs-Fixed: 665191
Change-Id: I65d07eef5a966e7c13c23f2e68d9babb08e1ae8e
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
1 file changed