Commit 58d46f53 authored by Geoff Lansberry's avatar Geoff Lansberry Committed by Samuel Ortiz

NFC: trf7970a: add TI recommended write of zero to Register 0x18

Signed-off-by: default avatarGeoff Lansberry <geoff@kuvee.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent fa1ce54e
......@@ -1048,6 +1048,10 @@ static int trf7970a_init(struct trf7970a *trf)
if (ret)
goto err_out;
ret = trf7970a_write(trf, TRF7970A_NFC_TARGET_LEVEL, 0);
if (ret)
goto err_out;
usleep_range(1000, 2000);
trf->chip_status_ctrl &= ~TRF7970A_CHIP_STATUS_RF_ON;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment