]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 ac3db9d9eecab93b879f74e50ce368e1110a7d85..46a075dea67cdbf89097409f8511161d67f984f1 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)