Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/drivers/mmc/host/litex_mmc.c b/drivers/mmc/host/litex_mmc.c
- index 9bdc088dd100..a5d48f0994f2 100644
- --- a/drivers/mmc/host/litex_mmc.c
- +++ b/drivers/mmc/host/litex_mmc.c
- @@ -86,8 +86,8 @@ void sdclk_set_clk(struct litex_mmc_host *host, unsigned int clk_freq) {
- div = roundup_pow_of_two(div);
- div = min(max(div, (u32)2), (u32)256);
- dev_info(&host->dev->dev,
- - "Requested clk_freq=%d: set to %d via div=%d\n",
- - clk_freq, host->freq / div, div);
- + "Requested clk_freq=%d: set (from %d) to %d via div=%d\n",
- + clk_freq, host_freq, host->freq / div, div);
- litex_write16(host->sdphy + LITEX_MMC_SDPHY_CLOCKERDIV_OFF, div);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement