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

Skip to content
Commit 09a18c4c authored by Sultanxda's avatar Sultanxda Committed by Jens Lody
Browse files

power: msm-core: Fix mutex not getting unlocked in error path



When this copy_to_user() fails, the mutex won't be unlocked. Fix it.

Change-Id: Ide7a7ed9ca8a8d33dafd2060a0c24c57e6396ea8
Signed-off-by: default avatarSultanxda <sultanxda@gmail.com>
Signed-off-by: default avatarSimao Gomes Viana <xdevs23@outlook.com>
parent c7ab134e
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