aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc/st-nci
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-10-25 22:54:40 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-10-27 03:55:11 +0100
commit06521053a06062f62f001d79b7c1449a614cc4af (patch)
tree4ac664bf9018bf108bb9b5a9cfb0d8f5ba38bd15 /drivers/nfc/st-nci
parentNFC: st-nci: Add ese-present/uicc-present dts properties (diff)
downloadlinux-dev-06521053a06062f62f001d79b7c1449a614cc4af.tar.xz
linux-dev-06521053a06062f62f001d79b7c1449a614cc4af.zip
NFC: st-nci: Increase delay between 2 secure element activations
After internal discussion, it appears this timing should be increased to 20 ms for interoperability reason. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st-nci')
-rw-r--r--drivers/nfc/st-nci/se.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/st-nci/se.c b/drivers/nfc/st-nci/se.c
index 147e2d904c63..3059baa0f12f 100644
--- a/drivers/nfc/st-nci/se.c
+++ b/drivers/nfc/st-nci/se.c
@@ -463,7 +463,7 @@ static int st_nci_control_se(struct nci_dev *ndev, u8 se_idx,
*/
if (info->se_info.se_status->is_ese_present &&
info->se_info.se_status->is_uicc_present)
- usleep_range(3000, 5000);
+ usleep_range(15000, 20000);
r = nci_hci_get_param(ndev, NCI_HCI_ADMIN_GATE,
NCI_HCI_ADMIN_PARAM_HOST_LIST, &sk_host_list);