diff options
author | Thierry Escande <thierry.escande@collabora.com> | 2016-06-07 16:21:52 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2016-07-04 12:26:27 +0200 |
commit | 7854a44526de84142e367f08288c9f3a33c4c8ee (patch) | |
tree | bb06beaf8e3ff9803d4018bd2c41bd209b645fcb /drivers/nfc/nfcsim.c | |
parent | NFC: port100: Explicitly set NFC-F framing for NFC-DEP (diff) | |
download | linux-7854a44526de84142e367f08288c9f3a33c4c8ee.tar.xz linux-7854a44526de84142e367f08288c9f3a33c4c8ee.zip |
NFC: digital: Add a delay between poll cycles
This replaces the polling work struct with a delayed work struct and add
a 10 ms delay between 2 poll cycles. This avoids to flood the device
with 'switch off'/'switch on' commands.
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/nfcsim.c')
0 files changed, 0 insertions, 0 deletions