diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-15 23:10:17 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-15 23:10:17 -0400 |
commit | 488d30a1e9f937b6e2726791dceb865e9e10e118 (patch) | |
tree | 539dceeba73019a41c8c59a304d1ae85e0aa443c /drivers/mmc/mmc.c | |
parent | c18e5fb055ab789f58434e3cb432582adee0134c (diff) | |
parent | 12a29d3b851029212ca3b3e0f233fc7b62aa0a39 (diff) |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-mmc
Diffstat (limited to 'drivers/mmc/mmc.c')
-rw-r--r-- | drivers/mmc/mmc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 8a7d0739006..12d29da528a 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -34,6 +34,9 @@ static int mmc_set_signal_voltage(struct mmc *mmc, uint signal_voltage); static int mmc_wait_dat0(struct mmc *mmc, int state, int timeout_us) { + if (mmc->cfg->ops->wait_dat0) + return mmc->cfg->ops->wait_dat0(mmc, state, timeout_us); + return -ENOSYS; } |