]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Only write 'ISO Control' when its changing
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:33 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:27 +0000 (00:37 +0200)
commitb90579c369028a6bc6c9b22a1b0f5184e58b859a
tree3877e2ab3665fe5eb4e5ca8f6f47e9222a519231
parent92c06bc547076653e20242e62be0baf09196ba59
NFC: trf7970a: Only write 'ISO Control' when its changing

The current code always writes to the 'ISO Control' register when the
RF framing is set.  That's not necessary since the register's value
doesn't always change. Instead, only write to it when its value is
actually being changed.

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