[media] media: Enforce single entity->pipe in a pipeline
authorSakari Ailus <sakari.ailus@iki.fi>
Sun, 29 Nov 2015 19:20:02 +0000 (17:20 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:19:12 +0000 (12:19 -0200)
commit8aaf62b5b9bef73978973e4b825c7818528d3ca2
tree78bdfa6eb1c7e2a958a340d2664bf50faae420e2
parent677cb4bfc23e7fd8f49d2d10af64f171942fab84
[media] media: Enforce single entity->pipe in a pipeline

If a different entity->pipe in a pipeline was encountered, a warning was
issued but the execution continued as if nothing had happened. Return an
error instead right there.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-entity.c