]> Pileus Git - ~andy/linux/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)
commitb317828beec632791a440a677de5116ab9bd900a
treedc490e15f2f8d3cbdf661e4813c40a2777f8d6e6
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
[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