diff options
author | david.li <david.li@starfivetech.com> | 2021-12-15 10:02:38 +0300 |
---|---|---|
committer | david.li <david.li@starfivetech.com> | 2021-12-15 10:02:38 +0300 |
commit | 379ab61dc49aafc6306e6c1224b75dc76189d32c (patch) | |
tree | 0f9719134f591c704c4b3476b9e1a549c3a9c62d | |
parent | 5ae2dbf72c8d5cbda91283c45809b34456de7e24 (diff) | |
download | linux-379ab61dc49aafc6306e6c1224b75dc76189d32c.tar.xz |
v4l2 add dvp modify
-rwxr-xr-x | drivers/media/platform/starfive/v4l2_driver/stf_dvp_hw_ops.c | 4 |
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); |