]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
v4l: xilinx: missing error code
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 24 Jun 2015 14:28:31 +0000 (11:28 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:33:27 +0000 (19:33 +0200)
commit451ab6979192d32cc451f76c82c6adb74234a779
tree866503342817cee1c68db2e2512fd35d4ae9ccde
parent1881249edc4de2fbaef970a514043a529538bb9e
v4l: xilinx: missing error code

commit e31f8f00bfc081ec1881d92a2dd192aeddf1d9d7 upstream.

We should set "ret" on this error path instead of returning success.

Fixes: df3305156f98 ('[media] v4l: xilinx: Add Xilinx Video IP core')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/platform/xilinx/xilinx-dma.c