NFC: port100: Abort current command before switching RF off
authorThierry Escande <thierry.escande@collabora.com>
Thu, 16 Jun 2016 18:25:23 +0000 (20:25 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 6 Jul 2016 08:02:08 +0000 (10:02 +0200)
commit9f0c4542c49cbd041f2b6943b16644af0a3ff48f
treee9276c73f1638498861d5a2c47369b4a512a2cbd
parenta52bd7d2753b0567c71d604c640e9c4a86221756
NFC: port100: Abort current command before switching RF off

If a command is still being processed by the device, the switch RF off
command will be rejected. With this patch, the port100 driver calls
port100_abort_cmd() before sending the switch RF off command.

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