From: Mark A. Greer Date: Tue, 2 Sep 2014 22:12:20 +0000 (-0700) Subject: NFC: trf7970a: FIFO Size is really 127 bytes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1568bfef18a9150d83b0f91aa254cef7ebead4cd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Samuel Ortiz --- 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)