From: Mark A. Greer Date: Wed, 23 Apr 2014 18:00:55 +0000 (-0700) Subject: NFC: digital: SENSF_RES excludes RD when SENSF_REQ RC is zero X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~18^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96e829b433056d8325916631dc370a4ba42bdaf8;p=pandora-kernel.git NFC: digital: SENSF_RES excludes RD when SENSF_REQ RC is zero The check in digital_tg_send_sensf_res() that excludes the 'RD' field from the SENSF_RES is inverted. The 'RD' field should be excluded when the SENSF_REQ 'RC' field is equal to DIGITAL_SENSF_REQ_RC_NONE instead of when its not equal. This is described in section 6.6.2.11 of the NFC Digital Specification. CC: Thierry Escande Signed-off-by: Mark A. Greer Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed