]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vsp1: Propagate vsp1_device_get errors to the callers
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 31 May 2014 11:50:32 +0000 (08:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:52 +0000 (12:44 -0300)
commitb9e8d089cec60dbf4b5a65c8412c421add7d3d93
tree0ae47bb0a9962fcd2f00d9f973cbd1df88acfe34
parent424ea4cd6554ea471ed64d87543f70bf92bdeaae
[media] v4l: vsp1: Propagate vsp1_device_get errors to the callers

Modify the vsp1_device_get() function to return an error code instead of
a pointer to the VSP1 device, and use the return value in the callers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1.h
drivers/media/platform/vsp1/vsp1_drv.c
drivers/media/platform/vsp1/vsp1_video.c