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 <andy.yan@rock-chips.com>
Change-Id: I9421ea0b5d804671903a498e20b68b163d40e166
This commit is contained in:
Andy Yan
2021-06-24 19:42:12 +08:00
committed by Tao Huang
parent 7ab6e1a029
commit c9bebffd08

View File

@@ -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;