Commit b887eb09 authored by Mark A. Greer's avatar Mark A. Greer Committed by Samuel Ortiz

NFC: trf7970a: Clear 'NFC Target Detection Level' register

Due to a trf7970a erratum, the 'NFC Target Detection Level' register
(0x18) must be cleared after power-up.
Signed-off-by: default avatarMark A. Greer <[email protected]>
Signed-off-by: default avatarSamuel Ortiz <[email protected]>
parent 5876bc75
......@@ -757,6 +757,11 @@ static int trf7970a_init(struct trf7970a *trf)
if (ret)
goto err_out;
/* Must clear NFC Target Detection Level reg due to erratum */
ret = trf7970a_write(trf, TRF7970A_NFC_TARGET_LEVEL, 0);
if (ret)
goto err_out;
ret = trf7970a_write(trf, TRF7970A_MODULATOR_SYS_CLK_CTRL,
if (ret)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment