Skip to content

Commit

Permalink
[media] adv7842: Composite free-run platfrom-data fix
Browse files Browse the repository at this point in the history
Incorrectly setting of free-run for Composite.
Copy/paste regression fix.

Signed-off-by: Martin Bugge <marbugge@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
  • Loading branch information
Martin Bugge authored and Mauro Carvalho Chehab committed Feb 4, 2014
1 parent 257cc4b commit 57f0547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/i2c/adv7842.c
Original file line number Diff line number Diff line change
Expand Up @@ -2554,7 +2554,7 @@ static int adv7842_core_init(struct v4l2_subdev *sd)
sdp_write_and_or(sd, 0xdd, 0xf0, pdata->sdp_free_run_force |
(pdata->sdp_free_run_cbar_en << 1) |
(pdata->sdp_free_run_man_col_en << 2) |
(pdata->sdp_free_run_force << 3));
(pdata->sdp_free_run_auto << 3));

/* TODO from platform data */
cp_write(sd, 0x69, 0x14); /* Enable CP CSC */
Expand Down

0 comments on commit 57f0547

Please sign in to comment.