[PATCH v2 03/11] video: rockchip: dw_mipi_dsi: Proceed when external PHY is not defined
Svyatoslav Ryhel
clamor95 at gmail.com
Sun Feb 23 13:46:12 CET 2025
нд, 23 лют. 2025 р. о 14:14 Dang Huynh <danct12 at riseup.net> пише:
>
> From: Ondrej Jirman <megi at xff.cz>
>
> In this case the DM returns ENOENT, not ENODATA.
>
> Signed-off-by: Ondrej Jirman <megi at xff.cz>
> Signed-off-by: Dang Huynh <danct12 at riseup.net>
> ---
> drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/rockchip/dw_mipi_dsi_rockchip.c b/drivers/video/rockchip/dw_mipi_dsi_rockchip.c
> index c47992dfb133cda029eba82e842ac824ceead64b..95e825eb3d6de7ef2836fa029927034394486e9c 100644
> --- a/drivers/video/rockchip/dw_mipi_dsi_rockchip.c
> +++ b/drivers/video/rockchip/dw_mipi_dsi_rockchip.c
> @@ -839,7 +839,7 @@ static int dw_mipi_dsi_rockchip_probe(struct udevice *dev)
> * NULL if it's not initialized.
> */
> ret = generic_phy_get_by_name(dev, "dphy", &priv->phy);
> - if (ret && ret != -ENODATA) {
> + if (ret && ret != -ENOENT) {
> dev_err(dev, "failed to get mipi dphy: %d\n", ret);
> return ret;
> }
>
> --
> 2.48.1
>
Reviewed-by: Svyatoslav Ryhel <clamor95 at gmail.com>
More information about the U-Boot
mailing list