diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2019-06-26 12:36:40 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-06-26 12:39:25 +0300 |
commit | 3d25025ce9c2f364ea4ee76f1461c8714b9c0b6d (patch) | |
tree | 2341105f644a9303c7c10d32ed2804b612c77129 /drivers/pwm/Kconfig | |
parent | a2a28229cdce7bd4d95ecf57ea1306a9e2c10137 (diff) | |
download | linux-3d25025ce9c2f364ea4ee76f1461c8714b9c0b6d.tar.xz |
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: kbuild test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Cc: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
0 files changed, 0 insertions, 0 deletions