]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Turn RF on after hardware is configured
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:37 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:27 +0000 (00:37 +0200)
commite0864d78226965ef35887f683893869f40310420
treea7ea854f277bd046f7c399e09466e3dcda9ea7d7
parent1e794f8ada72cc71c34c0a01fa8ee62a6465b1d1
NFC: trf7970a: Turn RF on after hardware is configured

The NFC digital layer calls the 'switch_rf' hook to turn the RF on before
it configures the RF technology and framing. There is potential to confuse
a tag doing it this way so don't enable the RF until the RF technology and
initial framing have been configured.

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