summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>2021-08-02 23:20:41 -0600
committerMichal Simek <michal.simek@xilinx.com>2021-08-06 09:35:34 +0200
commit16b593bec7b965044b6157c54b89669894fc2d54 (patch)
tree80f3705042f17f98d42fd633eaff77038cc46383 /include/sdhci.h
parent5ab5d9a44283e90a41185c744be0a11934348970 (diff)
downloadu-boot-16b593bec7b965044b6157c54b89669894fc2d54.tar.gz
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>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 0ae9471ad7..44a0d84e5a 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -268,7 +268,7 @@ struct sdhci_ops {
int (*set_ios_post)(struct sdhci_host *host);
void (*set_clock)(struct sdhci_host *host, u32 div);
int (*platform_execute_tuning)(struct mmc *host, u8 opcode);
- void (*set_delay)(struct sdhci_host *host);
+ int (*set_delay)(struct sdhci_host *host);
int (*deferred_probe)(struct sdhci_host *host);
};