Skip to content

Commit ae291f7

Browse files
mgreerazSamuel Ortiz
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Greer <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
1 parent adca3c3 commit ae291f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nfc/trf7970a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336

337337
#define TRF7970A_NFC_TARGET_LEVEL_RFDET(v) ((v) & 0x07)
338338
#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)
340340
#define TRF7970A_NFC_TARGET_LEVEL_LD_S_4BYTES (0x0 << 6)
341341
#define TRF7970A_NFC_TARGET_LEVEL_LD_S_7BYTES (0x1 << 6)
342342
#define TRF7970A_NFC_TARGET_LEVEL_LD_S_10BYTES (0x2 << 6)

0 commit comments

Comments
 (0)