From: Tomi Valkeinen Date: Fri, 7 Dec 2012 14:47:28 +0000 (+0200) Subject: OMAPFB: move dssdev->sync call out from omapfb_realloc_fbmem X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~2^2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636f4e1b45c6204c6912cefa2bdbe22e00784a43;p=pandora-kernel.git OMAPFB: move dssdev->sync call out from omapfb_realloc_fbmem Currently omapfb_realloc_fbmem() calls dssdev->sync to ensure any possible frame update is finished. This patch moves the call to dssdev->sync from omapfb_realloc_fbmem to the callers of omapfb_realloc_fbmem. This keeps dssdev related calls out from omapfb_realloc_fbmem, which makes sense as the function should only deal with fb memory. Also, this seems to avoid a lockdep warning about possible circular locking. However, the exact reason for that warning is still unclear. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed