]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:29:41 +0000 (12:29 +0200)
commit7fb6a870bbe01751ee57501e7e8b2f45cfbc4744
tree37a4b078f38e50d41a5488e0308b7ac5771e5598
parentd9e9b4a6e418527c606b73bb643aebfafc7bc60b
media: i2c: adv748x: fix HDMI field heights

BugLink: http://bugs.launchpad.net/bugs/1783418
[ Upstream commit 9f564184e6cc21a86c26bab920afac1bab7653ff ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/media/i2c/adv748x/adv748x-hdmi.c