mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
mmc: atmel-sdhci: enable the required generic clock
The second clock of the IP block (the generic clock), must be explicitly enabled. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Peng Fan <pengfan@nxp.com>
This commit is contained in:
parent
2e00608ca4
commit
81f16438d4
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ static int atmel_sdhci_probe(struct udevice *dev)
|
|||
if (!max_clk)
|
||||
return -EINVAL;
|
||||
|
||||
ret = clk_enable(&clk);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
host->max_clk = max_clk;
|
||||
host->mmc = &plat->mmc;
|
||||
host->mmc->dev = dev;
|
||||
|
|
Loading…
Reference in a new issue