OMAPDSS: Displays: Add locking in generic DPI panel driver
authorArchit Taneja <archit@ti.com>
Wed, 8 Aug 2012 08:50:30 +0000 (13:50 +0530)
committerArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 10:14:39 +0000 (15:14 +0530)
commite19d659bbf040823048101c31e3b213d13dd815f
treea87ac11d778cd420cee5f9ba6d474baa5c3045e0
parentc8a5e4e86d998274306dc906f5a24bb0e96aa14c
OMAPDSS: Displays: Add locking in generic DPI panel driver

The generic DPI panel driver doesn't currently have locking to ensure that
the display states and the driver data is maintained correctly. Add mutex
locking to take care of this. Add a new get_timings driver op to override the
default get_timings op. The new driver op contains locking to ensure the correct
panel timings are seen when a DSS2 user calls device->driver->get_timings.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-generic-dpi.c