linux/drivers/video/omap2/displays-new
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
..
Kconfig fbdev changes for 3.13 2013-11-14 14:44:20 +09:00
Makefile omapdss: Add new panel driver for Topolly td028ttec1 LCD. 2013-10-31 12:30:36 +02:00
connector-analog-tv.c OMAPDSS: Return right error during connector probe 2013-09-19 13:29:35 +03:00
connector-dvi.c fbdev changes for 3.13 2013-11-14 14:44:20 +09:00
connector-hdmi.c OMAPDSS: Return right error during connector probe 2013-09-19 13:29:35 +03:00
encoder-tfp410.c OMAPDSS: rename omap_dss_device's 'device' field to 'dst' 2013-08-30 08:51:11 +03:00
encoder-tpd12s015.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
panel-dpi.c OMAPDSS: Add new simple DPI panel driver 2013-06-17 14:31:36 +03:00
panel-dsi-cm.c video: Remove unnecessary semicolons 2013-10-30 13:34:52 +02:00
panel-lgphilips-lb035q02.c OMAPDSS: Add LG.Philips LB035Q02 panel driver 2013-06-17 14:32:37 +03:00
panel-nec-nl8048hl11.c OMAPDSS: Add NEC NL8048HL11 panel driver 2013-06-17 14:33:18 +03:00
panel-sharp-ls037v7dw01.c OMAPDSS: Add Sharp LS037V7DW01 panel driver 2013-06-17 14:32:51 +03:00
panel-sony-acx565akm.c ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance 2013-11-26 12:49:17 +02:00
panel-tpo-td028ttec1.c omapdss: Add new panel driver for Topolly td028ttec1 LCD. 2013-10-31 12:30:36 +02:00
panel-tpo-td043mtea1.c OMAPDSS: Add TPO TD043MTEA1 panel driver 2013-06-17 14:33:04 +03:00