upstream: [media] v4l: vsp1: Fix error return code in vsp1_video_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 11 Sep 2013 14:10:24 +0000 (11:10 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:52:17 +0000 (11:52 +0900)
commit77a913747b274ed7ba2e6f21ff53ca904c28b9a1
treefa338217773b7f8e6ecb9fcac001cd17bec13798
parent1585278bf4f921f8aec10965880e03949ba1b75a
upstream: [media] v4l: vsp1: Fix error return code in vsp1_video_init()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1_video.c