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)
commita08e54549e743ea3704da939f92caf3eaa8471d3
tree519f1465b5ae0711bcd3e6056c172a145afe6f51
parent6c08df422ede7db94776b8099a5f43597629234c
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