[media] DaVinci-VPFE-Capture: Move two assignments in vpfe_s_input()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 09:22:23 +0000 (06:22 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:55:50 +0000 (12:55 -0200)
commit19d4695a4fbde30881ad9005e7f46e569b1fc911
tree0b2f255110ee86e98722a68be6646be87d7e4c62
parent2a0de2c84288fdf9381f6e2a85c0c6825221851e
[media] DaVinci-VPFE-Capture: Move two assignments in vpfe_s_input()

Move assignments for two local variables into an else branch so that
their setting will only be performed after corresponding data processing
succeeded by this function.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpfe_capture.c