Advertisement
Guest User

Untitled

a guest
Jan 26th, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.72 KB | None | 0 0
  1. diff --git a/drivers/mmc/host/litex_mmc.c b/drivers/mmc/host/litex_mmc.c
  2. index 9bdc088dd100..a5d48f0994f2 100644
  3. --- a/drivers/mmc/host/litex_mmc.c
  4. +++ b/drivers/mmc/host/litex_mmc.c
  5. @@ -86,8 +86,8 @@ void sdclk_set_clk(struct litex_mmc_host *host, unsigned int clk_freq) {
  6.         div = roundup_pow_of_two(div);
  7.         div = min(max(div, (u32)2), (u32)256);
  8.         dev_info(&host->dev->dev,
  9. -               "Requested clk_freq=%d: set to %d via div=%d\n",
  10. -               clk_freq, host->freq / div, div);
  11. +               "Requested clk_freq=%d: set (from %d) to %d via div=%d\n",
  12. +               clk_freq, host_freq, host->freq / div, div);
  13.         litex_write16(host->sdphy + LITEX_MMC_SDPHY_CLOCKERDIV_OFF, div);
  14.  }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement