]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Reset FIFO when 'End of TX' Interrupt Occurs
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:32 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:27 +0000 (00:37 +0200)
commit92c06bc547076653e20242e62be0baf09196ba59
treedcf43b03c625a20c53610effcd727efe4b0d91eb
parentc91dc45c25a19fc25dfd75b63413b74963639b24
NFC: trf7970a: Reset FIFO when 'End of TX' Interrupt Occurs

Sometimes after sending a frame there is tx data leftover in the FIFO
which the driver will think is part of the receive frame. That data can
be cleared when an 'End of TX' interrupt is received by issuing the
'FIFO Reset' command.

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