mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
NFC: digital: Set the command pending flag
There is a flag in the command structure indicating that this command is pending. It was checked before sending the command to not send the same command twice but it was actually never set. This is now fixed. Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
82e5795286
commit
af66df0f53
@ -176,6 +176,8 @@ static void digital_wq_cmd(struct work_struct *work)
|
||||
return;
|
||||
}
|
||||
|
||||
cmd->pending = 1;
|
||||
|
||||
mutex_unlock(&ddev->cmd_lock);
|
||||
|
||||
if (cmd->req)
|
||||
|
Loading…
Reference in New Issue
Block a user