NFC: trf7970a: FIFO Size is really 127 bytes
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:20 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:42 +0000 (23:13 +0200)
Despite what the manual says, the FIFO size
on the trf7970a is really 127 bytes so make
the code respect that.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c

index ac3db9d..46a075d 100644 (file)
 
 #define TRF7970A_RX_SKB_ALLOC_SIZE             256
 
-#define TRF7970A_FIFO_SIZE                     128
+#define TRF7970A_FIFO_SIZE                     127
 
 /* TX length is 3 nibbles long ==> 4KB - 1 bytes max */
 #define TRF7970A_TX_MAX                                (4096 - 1)