]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: digital: Abort last command when dep link goes down
authorThierry Escande <thierry.escande@collabora.com>
Thu, 16 Jun 2016 18:24:45 +0000 (20:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 6 Jul 2016 08:26:52 +0000 (10:26 +0200)
commite54b23e5f6cc6c5fa9956c0e65699741f2b2629a
tree4e8fe70f1d101239c3097ada1fad408de2127f76
parentea46bc88250208361d92c3dcc8154025deda8eca
NFC: digital: Abort last command when dep link goes down

With this patch, the Digital Protocol layer abort the last issued
command when the dep link goes down. That way it does not have to wait
for the driver to reply with a timeout error before sending a new
command (i.e. a start poll command if constant polling is on).

Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_core.c