]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd9009d523ac427eabb4f33ace55080c76dd14a29
tree0b2f255110ee86e98722a68be6646be87d7e4c62
parent9eed33ef26745b2af333b5db91e1f0231f5640c0
[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