]> Pileus Git - ~andy/linux/commit
drm/omap: update for interlaced
authorRob Clark <rob@ti.com>
Wed, 5 Sep 2012 21:48:53 +0000 (16:48 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:04:21 +0000 (16:04 -0700)
commit0b0d7b62bed81a76dd2b3f12ba6a33eb144a1df6
tree22d017d358573c803d73727579c4b330aa5cc081
parentabf02cfc179bb4bd30d05f582d61b3b8f429b813
drm/omap: update for interlaced

'struct omap_video_timings' was updated w/ a 'bool interlaced'.  Without
a matching update in omap_connector, this field could have undefined
values from the stack, which isn't quite ideal.

Update the fxns to convert omapdss<->drm timings structs, and zero-init
'struct omap_video_timings' when it is declared on stack to avoid issues
like this in the future.

Signed-off-by: Rob Clark <rob@ti.com>
Reviewed-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_connector.c