Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Marek Vasut's avatar
    ecfb0ff8
    mmc: atmel: Fix clock configuration · ecfb0ff8
    Marek Vasut authored
    
    After silencing the prints which were generated when reconfiguring the
    clock of the SD/MMC bus, surprisingly, the driver stopped working such
    that every attempt to use the SD/MMC bus caused the CPU to get totally
    stuck hard. It turns out that the prints generated a short delay, which
    was necessary for the CPU to reconfigure the clock without getting stuck.
    Thus, this patch adds a short delay after the clock configuration instead.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Reviewed-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
    ecfb0ff8
    History
    mmc: atmel: Fix clock configuration
    Marek Vasut authored
    
    After silencing the prints which were generated when reconfiguring the
    clock of the SD/MMC bus, surprisingly, the driver stopped working such
    that every attempt to use the SD/MMC bus caused the CPU to get totally
    stuck hard. It turns out that the prints generated a short delay, which
    was necessary for the CPU to reconfigure the clock without getting stuck.
    Thus, this patch adds a short delay after the clock configuration instead.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Reviewed-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>