summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdrivers/media/platform/starfive/v4l2_driver/stf_dvp_hw_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/starfive/v4l2_driver/stf_dvp_hw_ops.c b/drivers/media/platform/starfive/v4l2_driver/stf_dvp_hw_ops.c
index c7e95482b418..04233abd309a 100755
--- a/drivers/media/platform/starfive/v4l2_driver/stf_dvp_hw_ops.c
+++ b/drivers/media/platform/starfive/v4l2_driver/stf_dvp_hw_ops.c
@@ -96,8 +96,8 @@ static int stf_dvp_config_set(struct stf_dvp_dev *dvp_dev)
polarities |= BIT(3);
print_reg(ST_DVP, vin->sysctrl_base, SYSCONSAIF_SYSCFG_36);
reg_set_bit(vin->sysctrl_base, SYSCONSAIF_SYSCFG_36,
- V4L2_MBUS_HSYNC_ACTIVE_HIGH
- | V4L2_MBUS_VSYNC_ACTIVE_HIGH,
+ BIT(1)
+ | BIT(3),
polarities);
print_reg(ST_DVP, vin->sysctrl_base, SYSCONSAIF_SYSCFG_36);