[media] adv7842: add drive strength enum and sync names with adv7604

Add a proper driver strength enum and use the same names in the platform
data as with adv7604.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
このコミットが含まれているのは:
Hans Verkuil
2013-12-20 06:15:13 -03:00
committed by Mauro Carvalho Chehab
コミット 7f95c904b9
2個のファイルの変更14行の追加8行の削除

ファイルの表示

@@ -2541,9 +2541,10 @@ static int adv7842_core_init(struct v4l2_subdev *sd)
hdmi_write_and_or(sd, 0x1a, 0xf1, 0x08); /* Wait 1 s before unmute */
/* Drive strength */
io_write_and_or(sd, 0x14, 0xc0, pdata->drive_strength.data<<4 |
pdata->drive_strength.clock<<2 |
pdata->drive_strength.sync);
io_write_and_or(sd, 0x14, 0xc0,
pdata->dr_str_data << 4 |
pdata->dr_str_clk << 2 |
pdata->dr_str_sync);
/* HDMI free run */
cp_write_and_or(sd, 0xba, 0xfc, pdata->hdmi_free_run_enable |