kernel/drivers/media/i2c/ov772x.c
.. .. @@ -1397,7 +1397,7 @@ 1397 1397 priv->subdev.ctrl_handler = &priv->hdl; 1398 1398 if (priv->hdl.error) { 1399 1399 ret = priv->hdl.error; 1400 - goto error_mutex_destroy;1400 + goto error_ctrl_free;1401 1401 } 1402 1402 1403 1403 priv->clk = clk_get(&client->dev, NULL); .. .. @@ -1446,7 +1446,6 @@ 1446 1446 clk_put(priv->clk); 1447 1447 error_ctrl_free: 1448 1448 v4l2_ctrl_handler_free(&priv->hdl); 1449 -error_mutex_destroy:1450 1449 mutex_destroy(&priv->lock); 1451 1450 1452 1451 return ret;