Message ID | 20230325205610.22583-2-laurent.pinchart+renesas@ideasonboard.com |
---|---|
State | Accepted |
Commit | 4c5681acd75d0449ab5b6054142da93559598e39 |
Headers | show |
Series | media: i2c: adv7604: Fix handling of video adjustments | expand |
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 9d218962d7c8..3af0e67f9edb 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c @@ -1805,6 +1805,9 @@ static void select_input(struct v4l2_subdev *sd) v4l2_dbg(2, debug, sd, "%s: Unknown port %d selected\n", __func__, state->selected_input); } + + /* Enable video adjustment (contrast, saturation, brightness and hue) */ + cp_write_clr_set(sd, 0x3e, 0x80, 0x80); } static int adv76xx_s_routing(struct v4l2_subdev *sd,