summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ad9389b.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2013-05-21 10:31:25 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-05-27 09:32:57 -0300
commit72720ffc74a58ce27ea237c729f38e6a966f2997 (patch)
treeee09e36b71dbe028da9a6bda709b4c299f18e3e3 /drivers/media/i2c/ad9389b.c
parentc4eb1bfcbd7c2591caecda531072efda9e727dfa (diff)
downloadlinux-next-72720ffc74a58ce27ea237c729f38e6a966f2997.tar.gz
[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 <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/ad9389b.c')
0 files changed, 0 insertions, 0 deletions