]> 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)
commit44a01aa150d70c279df0eba6e751143f4a71aaad
tree3877e2ab3665fe5eb4e5ca8f6f47e9222a519231
parent321ec2c1ab9431d3d1edbc3dcf105902e56c2e83
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