]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: Change prototype of set_delay to return errors
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>
Tue, 3 Aug 2021 05:20:41 +0000 (23:20 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 6 Aug 2021 07:35:34 +0000 (09:35 +0200)
commit16b593bec7b965044b6157c54b89669894fc2d54
tree80f3705042f17f98d42fd633eaff77038cc46383
parent5ab5d9a44283e90a41185c744be0a11934348970
mmc: sdhci: Change prototype of set_delay to return errors

set_delay() has return type as void. If there are any errors while
setting tapdelay's it won't be able to return them.

Change the prototype of set_delay() in sdhci_ops structure and return
the errors from wherever it is called.

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/sdhci.c
include/sdhci.h