kernel-ark/drivers/video/omap2
Aaro Koskinen c37dd67798 ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance
When booting Nokia N900 smartphone with v3.12 + omap2plus_defconfig
(LOCKDEP enabled) and CONFIG_DISPLAY_PANEL_SONY_ACX565AKM enabled,
the following BUG is seen during the boot:

[    7.302154] =====================================
[    7.307128] [ BUG: bad unlock balance detected! ]
[    7.312103] 3.12.0-los.git-2093492-00120-g5e01dc7 #3 Not tainted
[    7.318450] -------------------------------------
[    7.323425] kworker/u2:1/12 is trying to release lock (&ddata->mutex) at:
[    7.330657] [<c031b760>] acx565akm_enable+0x12c/0x18c
[    7.335998] but there are no more locks to release!

Fix by removing double unlock and handling the locking completely inside
acx565akm_panel_power_on() when doing the power on.

Reported-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: stable@vger.kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2013-11-26 12:49:17 +02:00
..
displays-new ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance 2013-11-26 12:49:17 +02:00
dss fbdev changes for 3.13 2013-11-14 14:44:20 +09:00
omapfb OMAPFB: use EPROBE_DEFER if default display is not present 2013-06-17 14:00:54 +03:00
Kconfig OMAPDSS: remove all old panel drivers 2013-08-29 16:21:52 +03:00
Makefile OMAPDSS: remove all old panel drivers 2013-08-29 16:21:52 +03:00
vrfb.c drivers/video/omap2: don't check resource with devm_ioremap_resource 2013-05-18 11:58:01 +02:00