]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/nfc/trf7970a.c
NFC: trf7970a: Allow different Modulator and SYS_CLK Control register values
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:35 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:27 +0000 (00:37 +0200)
commit12e9ade309db51e7ea26be3b4fd5bc6057ddc175
treef9ce9c5fb33baf771ad4776e241fd1a08c5a0391
parenta0822a7e3b7333689b1c8cb92782e299791c2795
NFC: trf7970a: Allow different Modulator and SYS_CLK Control register values

Currently the driver writes the same value to the 'Modulator and SYS_CLK
Control' register no matter what RF technology is being used. That works
for now but new RF technologies (e.g., ISO/IEC 14443-B) will require
different values to be written to that register. To support this, add a
member to the trf7970a structure which is set by the RF technology handling
code and used by the framing code when it writes to that register.

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