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 91f44b23cb..17235a5e57 100644
--- a/drivers/leds/leds-aw2013.c
+++ b/drivers/leds/leds-aw2013.c
@@ -405,6 +405,7 @@ error_reg:
chip->regulators);
error:
+ mutex_unlock(&chip->mutex);
mutex_destroy(&chip->mutex);
return ret;
}