[media] coda: fix error return value if v4l2_m2m_ctx_init fails
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 21 May 2013 13:31:25 +0000 (10:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 May 2013 12:32:57 +0000 (09:32 -0300)
Use ret from the outer scope, instead of redefining it in the
conditional clause. That way the error value reaches the end of
the function as intended.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found