[media] adv7604: Correct G/S_EDID behaviour
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Nov 2014 12:34:57 +0000 (09:34 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Nov 2014 11:02:05 +0000 (09:02 -0200)
commitdd9ac11aefd8f9286d3bc8988ca5a052312c3de6
tree9078b4a81396f93c5faef87b3a7104249365cdd6
parentc81285ae4780e5df83f191f545c156435fdb01ba
[media] adv7604: Correct G/S_EDID behaviour

In order to have v4l2-compliance tool pass the G/S_EDID some modifications
where needed in the driver.
In particular, the edid.reserved zone must be blanked.

Based on a patch from Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>,
but reworked it a bit. It should use 'data' (which depends on edid.present)
instead of edid.blocks as the check whether edid data is present.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7604.c