From: Laurent Pinchart Date: Mon, 26 Mar 2012 13:24:50 +0000 (-0300) Subject: [media] omap3isp: preview: Shorten shadow update delay X-Git-Tag: v3.5-rc1~104^2~309 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0b29e1e29ee5357f36f27411b5881e470484da5;p=pandora-kernel.git [media] omap3isp: preview: Shorten shadow update delay When applications modify preview engine parameters, the new values are applied to the hardware by the preview engine interrupt handler during vertical blanking. If the parameters are being changed when the interrupt handler is called, it just delays applying the parameters until the next frame. If an application modifies the parameters for every frame, and the preview engine interrupt is triggerred synchronously, the parameters are never applied to the hardware. Fix this by storing new parameters in a shadow copy, and switch the active parameters with the shadow values atomically. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed