Signed-off-by: Enrico Weigelt, metux IT consult <info@xxxxxxxxx> --- drivers/i2c/i2c-core-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core-base.c b/drivers/i2c/i2c-core-base.c index 5f6a4985f2bc..68be4e89d16a 100644 --- a/drivers/i2c/i2c-core-base.c +++ b/drivers/i2c/i2c-core-base.c @@ -2326,7 +2326,7 @@ struct i2c_adapter *i2c_get_adapter(int nr) else adapter = NULL; - exit: +exit: mutex_unlock(&core_lock); return adapter; } -- 2.11.0