]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Initialize when enabling RF
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:23 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:43 +0000 (23:13 +0200)
commit10601fd09b3058daee4dd3741f0dee27052bce8b
tree519f1465b5ae0711bcd3e6056c172a145afe6f51
parent3f252ee95dfd4beffd237e3b58837982c6bb0155
NFC: trf7970a: Initialize when enabling RF

Currently, the trf7970a is reset & initialized only
when the pm_runtime resume hook is called.  Instead,
initialize it every time the RF is enabled to ensure
that the trf7970a is quiesced and in a known state
before being set up for another RF technology.

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