]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: i2c: adv748x: fix HDMI field heights
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Mon, 8 Jan 2018 18:14:04 +0000 (13:14 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 13:16:59 +0000 (08:16 -0500)
commit9f564184e6cc21a86c26bab920afac1bab7653ff
tree0fe506a39abcddb05f1f5d0b13a6550d4e7c3e9d
parent0018147c964e73cb6ee0d463cad534fb4309e286
media: i2c: adv748x: fix HDMI field heights

The ADV748x handles interlaced media using V4L2_FIELD_ALTERNATE field
types.  The correct specification for the height on the mbus is the
image height, in this instance, the field height.

The AFE component already correctly adjusts the height on the mbus, but
the HDMI component got left behind.

Adjust the mbus height to correctly describe the image height of the
fields when processing interlaced video for HDMI pipelines.

Fixes: 3e89586a64df ("media: i2c: adv748x: add adv748x driver")
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv748x/adv748x-hdmi.c