]> git.openfabrics.org - ~emulex/infiniband.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)
commit49d19cc794e73c3383283a5366ff31572d71a795
tree3877e2ab3665fe5eb4e5ca8f6f47e9222a519231
parent4dd836e46c3ddcb2020646c867be589658440be0
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