summaryrefslogtreecommitdiff
path: root/drivers/nfc/trf7970a.c
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-09-02 15:12:20 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-07 23:13:42 +0200
commit1568bfef18a9150d83b0f91aa254cef7ebead4cd (patch)
treee7b56c28948f5fc95f5a1a868f1fb9d85680d41a /drivers/nfc/trf7970a.c
parent4542e8345af6076c87d036c7bd3f9dfa30768b1e (diff)
NFC: trf7970a: FIFO Size is really 127 bytes
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>
Diffstat (limited to 'drivers/nfc/trf7970a.c')
-rw-r--r--drivers/nfc/trf7970a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c
index ac3db9d9eeca..46a075dea67c 100644
--- a/drivers/nfc/trf7970a.c
+++ b/drivers/nfc/trf7970a.c
@@ -125,7 +125,7 @@
#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)