kernel-fxtec-pro1x/drivers/video/omap
Sergio Aguirre 03bb2b493c omapfb: Condition mutex acquisition
This fixes a bug introduced by this commit ID:

  commit 537a1bf059
  Author: Krzysztof Helt <krzysztof.h1@wp.pl>
  Date:   Tue Jun 30 11:41:29 2009 -0700

    fbdev: add mutex for fb_mmap locking

In which a mutex was added when changing smem_start and smem_len fields,
so the mutex inside the fb_mmap() call is actually used.

The problem was that set_fb_fix, which modifies the above 2 fields,
was called before and after registering the framebuffer,
which when used before registration, lead to a failed attempt to
use an uninitialized mutex.

Solution: Don't use mutex before framebuffer registration.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Acked-by: Imre Deak <imre.deak@nokia.com>
Tested-by: Cory Maccarrone <darkstar6262@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2009-10-06 08:31:50 -07:00
..
blizzard.c omapfb: add support for rotation on the Blizzard LCD ctrl 2009-09-23 07:39:49 -07:00
dispc.c const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
dispc.h omapfb: dispc: allow multiple external IRQ handlers 2009-09-23 07:39:50 -07:00
hwa742.c omapfb: HWA742: fix pointer to be const 2009-09-23 07:39:50 -07:00
Kconfig omapfb: add FB manual update option to Kconfig 2009-09-23 07:39:50 -07:00
lcd_2430sdp.c omapfb: add support for the 3430SDP LCD 2009-09-23 07:39:49 -07:00
lcd_ams_delta.c omapfb: add support for the Amstrad Delta LCD 2009-09-23 07:39:48 -07:00
lcd_apollon.c omapfb: add support for the Apollon LCD 2009-09-23 07:39:48 -07:00
lcd_h3.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcd_h4.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcd_inn1510.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcd_inn1610.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcd_ldp.c omapfb: add support for the ZOOM MDK LCD 2009-09-23 07:39:49 -07:00
lcd_mipid.c omapfb: add support for MIPI-DCS compatible LCDs 2009-09-23 07:39:48 -07:00
lcd_omap2evm.c omapfb: add support for the OMAP2EVM LCD 2009-09-23 07:39:49 -07:00
lcd_omap3beagle.c omapfb: add support for the OMAP3 Beagle DVI output 2009-09-23 07:39:49 -07:00
lcd_omap3evm.c omapfb: add support for the OMAP3 EVM LCD 2009-09-23 07:39:49 -07:00
lcd_osk.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcd_overo.c omapfb: add support for the Gumstix Overo LCD 2009-09-23 07:39:49 -07:00
lcd_palmte.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcd_palmtt.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcd_palmz71.c trivial: media/omap: adding __init/__exit macros to lcd_drivers 2009-09-21 15:14:54 +02:00
lcdc.c [ARM] omap: ensure OMAP drivers pass a struct device to clk_get() 2009-01-24 11:41:16 +00:00
lcdc.h [ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it be static?" 2008-09-05 17:02:34 +01:00
Makefile omapfb: add support for the ZOOM MDK LCD 2009-09-23 07:39:49 -07:00
omapfb_main.c omapfb: Condition mutex acquisition 2009-10-06 08:31:50 -07:00
rfbi.c omapfb: dispc: allow multiple external IRQ handlers 2009-09-23 07:39:50 -07:00
sossi.c [ARM] omap: convert OMAP drivers to use ioremap() 2008-09-05 17:02:30 +01:00