]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa4809418b0bee707343bf37f5be0c417ddf3969
treee9276c73f1638498861d5a2c47369b4a512a2cbd
parentf5ea9a54497d8eace56bbf33ab6f0e9f28cac9e7
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