[media] v4l: s5p-tv: hdmi: fix mode synchronization
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Fri, 9 Mar 2012 11:05:24 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 12:02:15 +0000 (09:02 -0300)
commit2fd07a4a9e0d34fc53443601781ae58b2e8f1649
tree8d7fb45c20f65f043ac2cbcda190a7c5901ed6ee
parent3f468accf2ae2951dacebc04f186a08f495ce92a
[media] v4l: s5p-tv: hdmi: fix mode synchronization

The mode setup was applied on HDMI hardware only on resume event.  This caused
problem if HDMI was not suspended between mode switches.  This patch fixes this
problem by setting a dirty flag on a mode change event.  If flag is set, then
new mode is applied on the next stream-on event.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-tv/hdmi_drv.c