diff options
author | Mark Greer <mgreer@animalcreek.com> | 2015-08-19 11:57:58 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-08-19 13:17:45 -0400 |
commit | ae291f79da57ef4cb747ae1940b37152d1a4e5cf (patch) | |
tree | 98bcfe6db7be55f29113f654b487c99887aa34f3 | |
parent | adca3c38d807b341a965d0aba8721d0784d8471b (diff) |
NFC: trf7970a: SDD_EN is bit 5 not bit 3
The SDD_EN bit in the NFC Target Detection Level Register
is bit 5 not bit 3 so change the TRF7970A_NFC_TARGET_LEVEL_SDD_EN
macro accordingly.
Reported-by: Raymond Lei <Raymond.Lei@ecolab.com>
Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/nfc/trf7970a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index 85b4d86772d8..08f23d75700e 100644 --- a/drivers/nfc/trf7970a.c +++ b/drivers/nfc/trf7970a.c | |||
@@ -336,7 +336,7 @@ | |||
336 | 336 | ||
337 | #define TRF7970A_NFC_TARGET_LEVEL_RFDET(v) ((v) & 0x07) | 337 | #define TRF7970A_NFC_TARGET_LEVEL_RFDET(v) ((v) & 0x07) |
338 | #define TRF7970A_NFC_TARGET_LEVEL_HI_RF BIT(3) | 338 | #define TRF7970A_NFC_TARGET_LEVEL_HI_RF BIT(3) |
339 | #define TRF7970A_NFC_TARGET_LEVEL_SDD_EN BIT(3) | 339 | #define TRF7970A_NFC_TARGET_LEVEL_SDD_EN BIT(5) |
340 | #define TRF7970A_NFC_TARGET_LEVEL_LD_S_4BYTES (0x0 << 6) | 340 | #define TRF7970A_NFC_TARGET_LEVEL_LD_S_4BYTES (0x0 << 6) |
341 | #define TRF7970A_NFC_TARGET_LEVEL_LD_S_7BYTES (0x1 << 6) | 341 | #define TRF7970A_NFC_TARGET_LEVEL_LD_S_7BYTES (0x1 << 6) |
342 | #define TRF7970A_NFC_TARGET_LEVEL_LD_S_10BYTES (0x2 << 6) | 342 | #define TRF7970A_NFC_TARGET_LEVEL_LD_S_10BYTES (0x2 << 6) |