mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
video: rockchip: dw_mipi_dsi: Proceed when external PHY is not defined
In this case the DM returns ENOENT, not ENODATA. Signed-off-by: Ondrej Jirman <megi@xff.cz>
This commit is contained in:
@@ -839,7 +839,7 @@ static int dw_mipi_dsi_rockchip_probe(struct udevice *dev)
|
|||||||
* NULL if it's not initialized.
|
* NULL if it's not initialized.
|
||||||
*/
|
*/
|
||||||
ret = generic_phy_get_by_name(dev, "dphy", &priv->phy);
|
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);
|
dev_err(dev, "failed to get mipi dphy: %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user