From c9bebffd08c295aa2b3011ba9d61f5bb189e53bb Mon Sep 17 00:00:00 2001 From: Andy Yan Date: Thu, 24 Jun 2021 19:42:12 +0800 Subject: [PATCH] media: rk628_csi: use stand phy_mode definition Switch from rockchip defined PHY_MODE_VIDEO_xx to stand PHY_MODE_xx Signed-off-by: Andy Yan Change-Id: I9421ea0b5d804671903a498e20b68b163d40e166 --- drivers/media/i2c/rk628_csi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/rk628_csi.c b/drivers/media/i2c/rk628_csi.c index 5e8e3710a82f..3fe765c148c7 100644 --- a/drivers/media/i2c/rk628_csi.c +++ b/drivers/media/i2c/rk628_csi.c @@ -819,7 +819,7 @@ static void rk628_csi_set_csi(struct v4l2_subdev *sd) rk62_csi_reset(sd); rk628_post_process_setup(sd); phy_set_bus_width(csi->txphy, bus_width); - ret = phy_set_mode(csi->txphy, PHY_MODE_VIDEO_MIPI); + ret = phy_set_mode(csi->txphy, PHY_MODE_MIPI_DPHY); if (ret) { v4l2_err(sd, "failed to set phy mode: %d\n", ret); return;