|
@@ -864,6 +864,7 @@ static int ov772x_power_on(struct ov772x_priv *priv)
|
|
GPIOD_OUT_LOW);
|
|
GPIOD_OUT_LOW);
|
|
if (IS_ERR(priv->rstb_gpio)) {
|
|
if (IS_ERR(priv->rstb_gpio)) {
|
|
dev_info(&client->dev, "Unable to get GPIO \"reset\"");
|
|
dev_info(&client->dev, "Unable to get GPIO \"reset\"");
|
|
|
|
+ clk_disable_unprepare(priv->clk);
|
|
return PTR_ERR(priv->rstb_gpio);
|
|
return PTR_ERR(priv->rstb_gpio);
|
|
}
|
|
}
|
|
|
|
|