[media] media: davinci: vpif: Add return code check at vb2_queue_init()
authorLad, Prabhakar <prabhakar.lad@ti.com>
Wed, 3 Oct 2012 13:01:07 +0000 (10:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:13:25 +0000 (22:13 -0300)
commitb4a711e7bf59e556d5f692e0c65ef12c6dad6cf8
tree86e0da70b8c52cdcd721770ec560183f2d456983
parent2bd4e58c9d00325b7a850b2ac73fd902e9148b77
[media] media: davinci: vpif: Add return code check at vb2_queue_init()

from commit with id 896f38f582730a19eb49677105b4fe4c0270b82e
it's mandatory to check the return code of vb2_queue_init().

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpif_capture.c
drivers/media/platform/davinci/vpif_display.c