linux/drivers/nfc
Waldemar Rymarkiewicz aada17ac70 NFC: pn533: Add a new pn533_send_cmd_async iface
This is intendend to replace pn533_send_cmd_frame_async() which
requires from the caller to create a complete frame.

The new function constructs a frame and sends it out which hides the
frame logic and avoid code duplication.

The caller has to allocate skb and put its payload there, and finally
provide the skb together with a complete cb to pn533_send_cmd_async().

Response skb is allocated by the core part and pass to the caller cb.
Next, the caller has to free it when is not needed anymore or pass it
up to the stack.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-01-10 00:44:28 +01:00
..
pn544 NFC: Move pn544.h to linux/platform_data/ 2012-11-19 23:56:59 +01:00
Kconfig NFC: Remove the pn544 raw driver 2012-09-25 00:17:27 +02:00
Makefile NFC: Separate pn544 hci driver in HW dependant and independant parts 2012-10-26 18:26:46 +02:00
nfcwilink.c NFC: Move the nfcwilink dereference below the NULL test 2012-09-25 00:17:26 +02:00
pn533.c NFC: pn533: Add a new pn533_send_cmd_async iface 2013-01-10 00:44:28 +01:00