NFC: trf7970a: Add RF technology specific guard times
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:24 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:43 +0000 (23:13 +0200)
commit4e64eff837fb682dfb2a1188fb036d75ec57375c
treed28e1807b9f0c7a694975b7464574fbaecfc5a57
parenta08e54549e743ea3704da939f92caf3eaa8471d3
NFC: trf7970a: Add RF technology specific guard times

When turning on the RF field, the driver must wait
an RF-technology-specific amount of time (known as
the guard time) before modulating the field.
Currently, the driver waits 5 ms but that is too
short for NFCF and too long for ISO/IEC 15693.
Fix this by determining the guard time when the
RF technology is set and delaying that amount
of time when turning on the RF field.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c