media: omap3isp: Check for valid port in endpoints
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 28 Feb 2017 12:38:44 +0000 (07:38 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 19:45:14 +0000 (15:45 -0400)
commit831f3494d2327ef581bdae934caa7b6c9bc34da8
treedada42ce3e92a947ea73698e554d3764413d2197
parent9d2656e9c09739c5dbd2dd516a8d90f27ed846ad
media: omap3isp: Check for valid port in endpoints

Check that we do have a valid port in an endpoint, return an error if not.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Tested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/omap3isp/isp.c