summaryrefslogtreecommitdiff
path: root/drivers/nfc/pn533.c
diff options
context:
space:
mode:
authorArron Wang <arron.wang@intel.com>2013-04-22 09:21:04 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-13 22:18:58 (GMT)
commit9c59844005c22700b36dcdbafeea7956b7f4b174 (patch)
tree59282befa628c8117f165f3e7ae94a200f7f21a7 /drivers/nfc/pn533.c
parentb70727e8a61a8e6b4d818519b03fce2937d0ef40 (diff)
downloadlinux-fsl-qoriq-9c59844005c22700b36dcdbafeea7956b7f4b174.tar.xz
NFC: pn544: Identify Type F NFC-DEP through NFCID2
NFCID2 is defined as the first 2 manufacturer ID (IDm) bytes. NFC DEP (NFC peer to peer) devices Type-F NFCID2 must start with 0x01fe according to the NFC Digital Specification. By checking those first 2 bytes we send the right command either to the reader gate when NFCID2 != 0x1fe (The NFC tag case) or to the NFCIP1 gate when seeing an NFC DEP device (The NFC peer to peer case). Without this fix, Felica (Type F) tags are not properly detected with this driver. Signed-off-by: Arron Wang <arron.wang@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn533.c')
0 files changed, 0 insertions, 0 deletions