Skip to content
Commit 3d25025c authored by Thierry Reding's avatar Thierry Reding
Browse files

pwm: fsl-ftm: Make sure to unlock mutex on failure



Upon failure to enable clocks while trying to enable the PWM, make sure
to unlock the mutex that was taken to avoid a deadlock during subsequent
operations.

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Reported-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Cc: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent a2a28229
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment