media: tda1997x: fix get_edid
authorTim Harvey <tharvey@gateworks.com>
Tue, 5 Feb 2019 16:23:36 +0000 (11:23 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 20:27:35 +0000 (15:27 -0500)
commit0806bc0afbb4157b6e1c8d91cbe8e536b292996c
tree4a937dd803c891db74db8b55c2d625ac21c7ce50
parent35deee14183457754f77e34dc92c588d93d40052
media: tda1997x: fix get_edid

set_edid never wrote the new EDID to state->edid.edid, it was only
written to the hardware. Since get_edid returned state->edid.edid,
it was never returning the right EDID.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: added missing commit log]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/tda1997x.c