linux/drivers/video/omap2/displays
Julia Lawall 5c79b496a7 V4L/DVB: drivers/video/omap2/displays: add missing mutex_unlock
Add a mutex_unlock missing on the error paths.  The use of the mutex is
balanced elsewhere in the file.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression E1;
@@

* mutex_lock(E1,...);
  <+... when != E1
  if (...) {
    ... when != E1
*   return ...;
  }
  ...+>
* mutex_unlock(E1,...);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-08-02 16:42:59 -03:00
..
Kconfig OMAP: DSS2: Add ACX565AKM Panel Driver 2010-05-18 15:06:04 +03:00
Makefile OMAP: DSS2: Add ACX565AKM Panel Driver 2010-05-18 15:06:04 +03:00
panel-acx565akm.c V4L/DVB: drivers/video/omap2/displays: add missing mutex_unlock 2010-08-02 16:42:59 -03:00
panel-generic.c OMAP: DSS2: panel-generic: re-implement mode changing 2010-03-15 11:07:40 +02:00
panel-sharp-lq043t1dg01.c OMAP: DSS2: move enable/disable/suspend/resume 2010-02-24 14:31:28 +02:00
panel-sharp-ls037v7dw01.c OMAP: LCD LS037V7DW01: Add Backlight driver support 2010-05-18 15:05:24 +03:00
panel-taal.c OMAP: DSS2: Taal: Fix DSI bus locking problem 2010-05-18 14:14:30 +03:00
panel-toppoly-tdo35s.c OMAP: DSS2: move enable/disable/suspend/resume 2010-02-24 14:31:28 +02:00
panel-tpo-td043mtea1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00