mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user