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

Commit 4e007f81 authored by Mark A. Greer's avatar Mark A. Greer Committed by Samuel Ortiz
Browse files

NFC: trf7970a: Delay after initialization



The trf7970a should be given at least 1 ms to
completely initialize after the 'Software Init'
and 'Idle' commands have been issued.

Signed-off-by: default avatarMark A. Greer <mgreer@animalcreek.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 77c9539d
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -824,6 +824,8 @@ static int trf7970a_init(struct trf7970a *trf)
	if (ret)
	if (ret)
		goto err_out;
		goto err_out;


	usleep_range(1000, 2000);

	ret = trf7970a_write(trf, TRF7970A_MODULATOR_SYS_CLK_CTRL, 0);
	ret = trf7970a_write(trf, TRF7970A_MODULATOR_SYS_CLK_CTRL, 0);
	if (ret)
	if (ret)
		goto err_out;
		goto err_out;