Skip to content
Snippets Groups Projects
Commit ecfb0ff8 authored by Marek Vasut's avatar Marek Vasut Committed by Andreas Bießmann
Browse files

mmc: atmel: Fix clock configuration


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>
parent b84c9c9a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment