]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 10
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 18:44:28 +0000 (20:44 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:33 +0000 (08:17 +0200)
commit9fb17947c129b5b30dfc4d0a52f5cfede0855ca1
tree6bedaba303a5a11321efbc0ec7396efef8e6b36b
parentc51431fb54d7fb0a5273500813109de1a2d64ce3
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 10

Fix the return value of the function to match common convention
where 0 means success and negative means error. Fix the return
values in case of an error to use errno.h codes.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sequencer.c