summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-aw2013.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-aw2013.c')
-rw-r--r--drivers/leds/leds-aw2013.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-aw2013.c b/drivers/leds/leds-aw2013.c
index 0b52fc909..3c0595857 100644
--- a/drivers/leds/leds-aw2013.c
+++ b/drivers/leds/leds-aw2013.c
@@ -397,6 +397,7 @@ error_reg:
regulator_disable(chip->vcc_regulator);
error:
+ mutex_unlock(&chip->mutex);
mutex_destroy(&chip->mutex);
return ret;
}