]> git.baikalelectronics.ru Git - kernel.git/commit
ste_dma40: Move two assignments in d40_prep_sg()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 17 Sep 2016 13:40:05 +0000 (15:40 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 17:36:18 +0000 (23:06 +0530)
commit630b08f351bf5688403e3a75b8ce2d5086cdb04d
tree5d4cd6cf9da9f92657305be94ea9de39b1398aa3
parent75e218614fe1f093c108101c6060087157acb60c
ste_dma40: Move two assignments in d40_prep_sg()

Move assignments for two local variables 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c