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:
Mark A. Greer 2014-09-02 15:12:38 -07:00 committed by Samuel Ortiz
parent 77c9539dc1
commit 4e007f8106
1 changed files with 2 additions and 0 deletions

View File

@ -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;