[media] omap3isp: Check v4l2_of_parse_endpoint() return value
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 11 Jan 2016 16:47:16 +0000 (14:47 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 12:04:17 +0000 (10:04 -0200)
commitc517b35211aed34cb7c78d508a0b9fb209fd60c9
tree6595cccee7f98771afff26b0ed563119c35b28b4
parent234eab8407afbedb4428012f8292357db75e24cd
[media] omap3isp: Check v4l2_of_parse_endpoint() return value

The v4l2_of_parse_endpoint() function can fail so check the return value.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap3isp/isp.c