нд, 23 лют. 2025 р. о 14:14 Dang Huynh <[email protected]> пише: > > From: Ondrej Jirman <[email protected]> > > In this case the DM returns ENOENT, not ENODATA. > > Signed-off-by: Ondrej Jirman <[email protected]> > Signed-off-by: Dang Huynh <[email protected]> > --- > 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 <[email protected]>

