Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent fa1ce54e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;