From: Mark A. Greer Date: Wed, 23 Apr 2014 18:00:56 +0000 (-0700) Subject: NFC: digital: Handle multiple SENSF_REQ frames X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~18^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8b6267bed9261c5c2f52e6b1ff258cd9305ad2;p=pandora-kernel.git NFC: digital: Handle multiple SENSF_REQ frames According to section 5.15.1.3 of the NFC Activity Specification, multiple SENSF_REQ commands can be received by a target before it receives an ATR_REQ command. To handle this, add a routine that checks whether a SENSF_REQ or ATR_REQ has been recieved. If its a SENSF_REQ, respond appropriately and continue waiting for a ATR_REQ. If its an ATR_REQ, handle it as before. CC: Thierry Escande Signed-off-by: Mark A. Greer Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed