diff options
author | Geoff Lansberry <geoff@kuvee.com> | 2016-04-18 15:48:39 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2016-07-04 06:20:21 -0400 |
commit | 58d46f538b602d4a93fbae945e5c844a90c01f14 (patch) | |
tree | c20dba019040c1aea48544dbb7d9f11a40eba925 | |
parent | fa1ce54ea38f7f83473fce62e64fefbd7ebd170e (diff) |
NFC: trf7970a: add TI recommended write of zero to Register 0x18
Signed-off-by: Geoff Lansberry <geoff@kuvee.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/nfc/trf7970a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index 10842b7051b3..26c9dbbccb0c 100644 --- a/drivers/nfc/trf7970a.c +++ b/drivers/nfc/trf7970a.c | |||
@@ -1048,6 +1048,10 @@ static int trf7970a_init(struct trf7970a *trf) | |||
1048 | if (ret) | 1048 | if (ret) |
1049 | goto err_out; | 1049 | goto err_out; |
1050 | 1050 | ||
1051 | ret = trf7970a_write(trf, TRF7970A_NFC_TARGET_LEVEL, 0); | ||
1052 | if (ret) | ||
1053 | goto err_out; | ||
1054 | |||
1051 | usleep_range(1000, 2000); | 1055 | usleep_range(1000, 2000); |
1052 | 1056 | ||
1053 | trf->chip_status_ctrl &= ~TRF7970A_CHIP_STATUS_RF_ON; | 1057 | trf->chip_status_ctrl &= ~TRF7970A_CHIP_STATUS_RF_ON; |