From: Magnus Damm Date: Tue, 10 Mar 2009 06:08:49 +0000 (+0000) Subject: video: deferred io cleanup fix for sh_mobile_lcdcfb X-Git-Tag: v2.6.29-rc8~47^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467fc4988986865b5dbcc8cc6a86c9b650cb0c6f;p=pandora-kernel.git video: deferred io cleanup fix for sh_mobile_lcdcfb Fix deferred io cleanup patch in the sh_mobile_lcdcfb driver. If probe() fails early the sh_mobile_lcdc_stop() function will be called to clean up deferred io. This patch modifies the code to only call fb_deferred_io_cleanup() after deferred io has been initialized. With this patch applied we no longer hit BUG_ON() inside fb_deferred_io_cleanup(). Triggers on a Migo-R with the SYS QVGA panel board unmounted. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed