diff options
author | Mark A. Greer <mgreer@animalcreek.com> | 2014-09-03 02:12:38 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-08 01:13:44 +0400 |
commit | 4e007f810664541078e619d050f6290bf137aa61 (patch) | |
tree | afb7d0197f72871c53bd34202885588af6786d78 /drivers/nfc | |
parent | 77c9539dc1284677539af442ac3629c9baf01202 (diff) | |
download | linux-4e007f810664541078e619d050f6290bf137aa61.tar.xz |
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>
Diffstat (limited to 'drivers/nfc')
-rw-r--r-- | drivers/nfc/trf7970a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index 3859e02c4e2d..b2d0fbf70073 100644 --- a/drivers/nfc/trf7970a.c +++ b/drivers/nfc/trf7970a.c @@ -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; |