From: Waldemar Rymarkiewicz Date: Mon, 26 Nov 2012 13:18:36 +0000 (+0100) Subject: NFC: pn533: Add a new pn533_send_sync iface X-Git-Tag: v3.9-rc1~139^2~242^2^2~26^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94c5c1561dde894766b1a9135e47b056fdbe13a4;p=pandora-kernel.git NFC: pn533: Add a new pn533_send_sync iface It is intended to replace pn533_send_cmd_frame_sync() iface which requires from the caller to create complete frame. The new function constructs a complete frame itself and sends it out in sync manner. This way frame logic is hidden from the caller. pn533_send_cmd_sync() returns ERR_PTR in case of an error or a pointer to valid response sk_buff otherwise. The pointer must be freed by the caller when it's been consumed. Signed-off-by: Waldemar Rymarkiewicz Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed