mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
mmc: add the debug message in mmc_set_clock
Add the debug message for checking the mmc clock status. It's helpful to debug the controlling clock. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
parent
6511718254
commit
d2faadb59c
1 changed files with 2 additions and 0 deletions
|
@ -1506,6 +1506,8 @@ int mmc_set_clock(struct mmc *mmc, uint clock, bool disable)
|
|||
mmc->clock = clock;
|
||||
mmc->clk_disable = disable;
|
||||
|
||||
debug("clock is %s (%dHz)\n", disable ? "disabled" : "enabled", clock);
|
||||
|
||||
return mmc_set_ios(mmc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue