[media] vivid: fix g_edid implementation
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 27 Mar 2017 08:36:53 +0000 (05:36 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Apr 2017 18:20:57 +0000 (15:20 -0300)
commit055075a3e8b8992f86707d3d7d20b857e71d205d
tree04eeef32dd64e7374e8e3c531e4aef4d032c4707
parentf8cc16c889dc11cc35a11a21b0d62c0116ee7022
[media] vivid: fix g_edid implementation

The VIDIOC_G_EDID implementation in vivid didn't take edid->start_block into account when
copying the EDID data.

Make sure that the internal EDID is updated with the correct CEC physical address. Currently
the returned EDID is updated, but that will only work well if edid->start_block is 0.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vivid/vivid-vid-common.c