commit | 3f791036276b6f535ad253dd25650fad60c72695 | [log] [tgz] |
---|---|---|
author | Rakesh Goyal <rgoyal@nvidia.com> | Fri Jan 27 15:51:26 2012 +0530 |
committer | Ramanan Rajeswaran <ramanan@google.com> | Fri Mar 09 08:51:44 2012 -0800 |
tree | aaeaa4d26a5d496be9b05182c85723058f2decc0 | |
parent | 8c56cd9e0bc2808d73e6596ba3bb128cc2fbcd7c [diff] |
nfc-hal: generalize error handling in Reader thread. If host runs faster than the nfc chip, it tries to read response immediately. In this scenario nfc chip responds back with it's read address and software should ignore this data and retry. This patch generalizes the retry mechanism to accomodate other versions of the nfc chip. Change-Id: I3e18e34fd3edf6ed0a7f302a6be9321ab8ed7875