ASoC: wm0010: unlock on error path
Subsystems (4)
PATCH 1/1 ASoC: wm0010: unlock on error path
We're holding the wm0010->lock mutex when we goto err_core.
Signed-off-by Dan Carpenter <[email protected]>
---
This driver is only in linux-next.
sound/soc/codecs/wm0010.c +2 -0
@@ -663,7 +663,9 @@ abort:wm0010_halt (codec);mutex_unlock (&wm0010->lock);return ret; + err_core: +mutex_unlock (&wm0010->lock);regulator_bulk_disable (ARRAY_SIZE (wm0010->core_supplies), wm0010->core_supplies); err:
Mark Brown
AppliedQuoted 3 lines · Dan Carpenter
We're holding the
wm0010->lockmutex when we gotoerr_core.Signed-off-by Dan Carpenter <[email protected]>
Applied, thanks.