]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: zynq_sdhci: Resolve uninitialized return value
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Fri, 9 Jul 2021 11:53:39 +0000 (05:53 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Jul 2021 07:18:45 +0000 (09:18 +0200)
commite2a78d651f99ccb74ad3ee4aa2622e5b79dfbb99
tree16a5ff16bb3030589ff5b01ce7555411ef7e8568
parent4554cedb38ce5526f8b521e14bc96420e698e85c
mmc: zynq_sdhci: Resolve uninitialized return value

set_phase() functions are not modifying the ret value and returning
the same uninitialized ret, return 0 instead.

Keep the return type as int to return errors when the tapdelay's are
set via xilinx_pm_request() in future.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/zynq_sdhci.c