NFC: digital: Add 'tg_listen_md' and 'tg_get_rf_tech' driver hooks
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 22 Jul 2014 04:24:39 +0000 (21:24 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 22 Jul 2014 23:17:31 +0000 (01:17 +0200)
commitbf30a67c947ed57c1cf7c68a47dc24331458037e
treeabd0341d5faa9431a964d3cd7349d5bc801b8f44
parentf63bac94bfe2b7f98d28e5c7d3432a5060841f51
NFC: digital: Add 'tg_listen_md' and 'tg_get_rf_tech' driver hooks

The digital layer of the NFC subsystem currently
supports a 'tg_listen_mdaa' driver hook that supports
devices that can do mode detection and automatic
anticollision.  However, there are some devices that
can do mode detection but not automatic anitcollision
so add the 'tg_listen_md' hook to support those devices.

In order for the digital layer to get the RF technology
detected by the device from the driver, add the
'tg_get_rf_tech' hook.  It is only valid to call this
hook immediately after a successful call to 'tg_listen_md'.

CC: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/digital.h
net/nfc/digital.h
net/nfc/digital_core.c
net/nfc/digital_technology.c
This page took 0.024462 seconds and 5 git commands to generate.