浏览代码

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>
Mark A. Greer 11 年之前
父节点
当前提交
1568bfef18
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/nfc/trf7970a.c

+ 1 - 1
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)