diff options
| author | Thierry Reding <[email protected]> | 2019-06-26 09:36:40 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2019-06-26 09:39:25 +0000 |
| commit | 3d25025ce9c2f364ea4ee76f1461c8714b9c0b6d (patch) | |
| tree | 2341105f644a9303c7c10d32ed2804b612c77129 /drivers/pwm/pwm-atmel-hlcdc.c | |
| parent | pwm: fsl-ftm: Use write protection for prescaler & polarity (diff) | |
| download | kernel-3d25025ce9c2f364ea4ee76f1461c8714b9c0b6d.tar.gz kernel-3d25025ce9c2f364ea4ee76f1461c8714b9c0b6d.zip | |
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 <[email protected]>
Reported-by: Julia Lawall <[email protected]>
Cc: Patrick Havelange <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel-hlcdc.c')
0 files changed, 0 insertions, 0 deletions
