Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f2b3f8dd authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

usb: ccid: Fix possible scenario of double unlock



There is a possible case of double unlock of the
spinlock ccid_dev->lock when the ccid daemon is trying
to write while the disable is being processed.
Fix this by going to done once the unlock is done.

Also, remove the unnecessary goto at the end of the
function call.

Change-Id: Idab0801cbf9db91e18d933c8088a4af479b8691f
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 4461eef6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment