]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 29 Nov 2013 13:45:34 +0000 (11:45 -0200)
commit7433a0ded3baed4c7d0645077fa9587a61feb3e4
treedc490e15f2f8d3cbdf661e4813c40a2777f8d6e6
parent1386d2af13b0b2ba423da1adf79ceabb7ea834e9
[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