linux/drivers/nfc
Mark A. Greer 7a1e5552af NFC: trf7970a: Prefix TX data when refilling FIFO
When refilling the FIFO with more TX data (using a new
SPI transaction), the driver must prefix the TX data with
a write to the FIFO I/O Register.  This tells the trf7970a
that the following data is destined for the FIFO so it can
be transmitted.

To accomplish this, the driver cannot simply push the
prefix data just before the next set of TX data that
is to be transmitted because that will overwrite part
of the TX data provided by the digital layer.  Instead,
separate the prefix data and the TX data when calling
trf7970a_transmit().  trf7970a_transmit() can then send
the prefix and TX data from different memory locations
with one spi_sync() operation.  This also means that
the driver doesn't require any skb "tx_headroom" as
provided by the digital layer (see
nfc_digital_allocate_device() and digital_skb_alloc()).

Also ensure that the prefix is of type 'u8' and not
'char'.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2014-09-07 23:13:43 +02:00
..
microread nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
nfcmrvl NFC: nfcmrvl: Fix possible memory leak issue 2014-01-09 01:27:20 +01:00
pn544 NFC: pn544_i2c: Fix null pointer exception when not using platform data 2014-04-22 00:37:29 +02:00
st21nfca NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode 2014-07-23 01:14:41 +02:00
st21nfcb NFC: st21nfcb: few code clean up 2014-07-23 00:49:37 +02:00
Kconfig NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip 2014-07-23 00:49:28 +02:00
Makefile NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip 2014-07-23 00:49:28 +02:00
mei_phy.c NFC: mei_phy: Using kfree_skb() instead of kfree() 2014-01-04 03:32:26 +01:00
mei_phy.h NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
nfcsim.c NFC: Convert nfc_dev_info and nfc_dev_err to nfc_<level> 2013-09-25 01:35:39 +02:00
nfcwilink.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
pn533.c NFC: pn533: Convert to use USB_DEVICE macro 2014-02-23 23:32:18 +01:00
port100.c NFC: port100: Add support for type 4B tag 2014-05-26 00:42:02 +02:00
trf7970a.c NFC: trf7970a: Prefix TX data when refilling FIFO 2014-09-07 23:13:43 +02:00