200-clock.patch 697 B

123456789101112131415161718192021222324
  1. The function get_mci_clk_rate is used inside atmel_mci driver
  2. but never defined. Fix this typo.
  3. Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
  4. ---
  5. drivers/mmc/atmel_mci.c | 2 +-
  6. 1 files changed, 1 insertions(+), 1 deletions(-)
  7. diff --git a/drivers/mmc/atmel_mci.c b/drivers/mmc/atmel_mci.c
  8. index 3946ffe..628aac9 100644
  9. --- a/drivers/mmc/atmel_mci.c
  10. +++ b/drivers/mmc/atmel_mci.c
  11. @@ -67,7 +67,7 @@ static void mci_set_mode(unsigned long hz, unsigned long blklen)
  12. unsigned long bus_hz;
  13. unsigned long clkdiv;
  14. - bus_hz = get_mci_clk_rate();
  15. + bus_hz = get_mck_clk_rate();
  16. clkdiv = (bus_hz / hz) / 2 - 1;
  17. pr_debug("mmc: setting clock %lu Hz, block size %lu\n",
  18. --
  19. 1.7.0.4