summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/Kconfig
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@collabora.com>2016-06-16 20:25:21 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2016-07-06 10:02:07 +0200
commitb74584c1a6d68110d135a6ce0336aab0055f4341 (patch)
tree86cd2ef99b4e43c242ca0b84c4ed0efce68fed1c /drivers/nfc/Kconfig
parentNFC: port100: Don't send a new command if one is still pending (diff)
downloadlinux-b74584c1a6d68110d135a6ce0336aab0055f4341.tar.xz
linux-b74584c1a6d68110d135a6ce0336aab0055f4341.zip
NFC: port100: Fix the command cancellation process
The USB out_urb used to send commands to the device can be submitted through the standard command processing queue coming from the Digital Protocol layer but it can also be submitted from port100_abort_cmd(). To not submit the URB while already active, a mutex is now used to protect it and a cmd_cancel flag is used to not send command while canceling the previous one. Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/Kconfig')
0 files changed, 0 insertions, 0 deletions