[media] media: vb2: fix incorrect return value
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 3 Oct 2011 06:21:45 +0000 (03:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Oct 2011 09:57:25 +0000 (07:57 -0200)
commit4c2625db6f172114bcc4fd9e62f3c030c5fb4e4c
tree5c9c6da9d4fedc40f1ca72fe73303ae4f1ad5fe6
parent1c5c50685a04668a4a4431534bca804969fac3c6
[media] media: vb2: fix incorrect return value

This patch fixes incorrect return value. Errors should be returned
as negative numbers.

Reported-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c