]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Clear possible spurious interrupt before transmitting
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:26 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:43 +0000 (23:13 +0200)
commit9d44cbfb603cbc003255f05f8ef791acd5a00ef6
tree98bcfb841f90f785944687d1373546f9dc72ef2b
parentd0af71a89ad0faf74ef658462a179ba95de3b376
NFC: trf7970a: Clear possible spurious interrupt before transmitting

The trf7970a occasionally generates spurious interrupts
which can confuse the driver.  To help alleviate this,
clear any interrupts by reading the 'IRQ Status Register'
before starting a new transaction.

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