From: Philipp Zabel Date: Tue, 21 May 2013 13:31:25 +0000 (-0300) Subject: [media] coda: fix error return value if v4l2_m2m_ctx_init fails X-Git-Tag: v3.11-rc1~17^2~320 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72720ffc74a58ce27ea237c729f38e6a966f2997;p=pandora-kernel.git [media] coda: fix error return value if v4l2_m2m_ctx_init fails 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed