From: Laurent Pinchart Date: Tue, 28 Oct 2014 12:07:37 +0000 (-0300) Subject: [media] v4l: omap4iss: Stop started entities when pipeline start fails X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~131^2~306 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9587a3fc4333efd9cfd56a0754cabf76bdcdb3b0;p=pandora-kernel.git [media] v4l: omap4iss: Stop started entities when pipeline start fails If an entity can't be started when starting a pipeline we need to clean up by stopping all entities that have been successfully started. Otherwise the hardware and software states won't match, potentially leading to crashes (for instance due to the CSI2 receiver receiving interrupts with a NULL pipeline pointer). Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed