mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 00:29:36 -04:00
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: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
77c9539dc1
commit
4e007f8106
@@ -824,6 +824,8 @@ static int trf7970a_init(struct trf7970a *trf)
|
||||
if (ret)
|
||||
goto err_out;
|
||||
|
||||
usleep_range(1000, 2000);
|
||||
|
||||
ret = trf7970a_write(trf, TRF7970A_MODULATOR_SYS_CLK_CTRL, 0);
|
||||
if (ret)
|
||||
goto err_out;
|
||||
|
||||
Reference in New Issue
Block a user