]> 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)
commit0cd6c4816b6369855aa606cddc542010f5f449d3
tree519f1465b5ae0711bcd3e6056c172a145afe6f51
parent7eff9b9322f0bb5032e7a707dec9ddcd349c45f9
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