projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa1ce54
)
NFC: trf7970a: add TI recommended write of zero to Register 0x18
author
Geoff Lansberry
<geoff@kuvee.com>
Mon, 18 Apr 2016 19:48:39 +0000
(15:48 -0400)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 4 Jul 2016 10:20:21 +0000
(12:20 +0200)
Signed-off-by: Geoff Lansberry <geoff@kuvee.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nfc/trf7970a.c
b/drivers/nfc/trf7970a.c
index 10842b7051b32206190ddfb4ab29cc8d18ed268c..26c9dbbccb0c504c59fcec5157adf2310c323587 100644
(file)
--- a/
drivers/nfc/trf7970a.c
+++ b/
drivers/nfc/trf7970a.c
@@
-1048,6
+1048,10
@@
static int trf7970a_init(struct trf7970a *trf)
if (ret)
goto err_out;
+ ret = trf7970a_write(trf, TRF7970A_NFC_TARGET_LEVEL, 0);
+ if (ret)
+ goto err_out;
+
usleep_range(1000, 2000);
trf->chip_status_ctrl &= ~TRF7970A_CHIP_STATUS_RF_ON;