mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00: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:
parent
77c9539dc1
commit
4e007f8106
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue