nfc: nxp-nci: use msleep for long delays
authorNicholas Mc Guire <der.herr@hofr.at>
Sun, 22 Jan 2017 12:28:39 +0000 (13:28 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 1 Apr 2017 22:29:53 +0000 (00:29 +0200)
commit96bd0b5e550f26e8472c624d1aabe7448d0a7c27
tree958c886593cd0aba8e8fbbe879e696e53c509b1a
parent8f79ded95934154d4454b6e422a18a3fbcd7a268
nfc: nxp-nci: use msleep for long delays

ulseep_range() uses hrtimers and provides no advantage over msleep()
for larger delays. For this large delay msleep() is preferable.

Fixes: commit 6be88670fc59 ("NFC: nxp-nci_i2c: Add I2C support to NXP NCI driver")
Link: http://lkml.org/lkml/2017/1/11/377
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nxp-nci/i2c.c