[PATCH v4 08/10] phy: socionext: Add UniPhier USB3 PHY driver

Marek Vasut marex at denx.de
Mon Feb 20 16:51:22 CET 2023


On 2/20/23 06:50, Kunihiko Hayashi wrote:

[...]

> +static int uniphier_usb3phy_probe(struct udevice *dev)
> +{


[...]

> +	priv->rst_parent = devm_reset_control_get_optional(dev, "gio");
> +	if (IS_ERR(priv->rst_parent)) {
> +		printf("Failed to get parent reset\n");
> +		return PTR_ERR(priv->rst_parent);
> +	}
> +
> +	if (priv->clk_parent) {
> +		ret = clk_enable(priv->clk_parent);
> +		if (ret)
> +			return ret;
> +	}

Missing newline here.

> +	if (priv->rst_parent) {
> +		ret = reset_deassert(priv->rst_parent);
> +		if (ret)
> +			goto out_clk_parent;
> +	}

Reviewed-by: Marek Vasut <marex at denx.de>

[...]


More information about the U-Boot mailing list