projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v2021.01-rc5' into next
[platform/kernel/u-boot.git]
/
drivers
/
mmc
/
atmel_sdhci.c
diff --git
a/drivers/mmc/atmel_sdhci.c
b/drivers/mmc/atmel_sdhci.c
index
2de8eb8
..
d7dbc23
100644
(file)
--- a/
drivers/mmc/atmel_sdhci.c
+++ b/
drivers/mmc/atmel_sdhci.c
@@
-86,7
+86,8
@@
static int atmel_sdhci_probe(struct udevice *dev)
return -EINVAL;
ret = clk_enable(&clk);
- if (ret)
+ /* return error only if the clock really has a clock enable func */
+ if (ret && ret != -ENOSYS)
return ret;
ret = mmc_of_parse(dev, &plat->cfg);