[media] v4l: omap4iss: Stop started entities when pipeline start fails
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 28 Oct 2014 12:07:37 +0000 (09:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 10:57:01 +0000 (08:57 -0200)
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

No differences found