diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2016-11-09 08:14:09 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-11 08:07:00 +0100 |
commit | 05f625a9e1ecab34a6e7a8eb96f10ff8be2c4856 (patch) | |
tree | e8c475e87d3253435f7d487cee1e7e5a3464d784 /arch/arm | |
parent | 39f7a7ee8b68299e50bbfd4a68f392379b2e98df (diff) | |
download | barebox-05f625a9e1ecab34a6e7a8eb96f10ff8be2c4856.tar.gz barebox-05f625a9e1ecab34a6e7a8eb96f10ff8be2c4856.tar.xz |
i.MX: esdhc: Request "per" clock explicitly
Calling clk_get() with NULL as the second argument will give us "ipg"
clock as a result. The actual clock feeding into the peripheral is "per"
and, depending on the SoC, "ipg" and "per" may be separated by a clock
divider, so querying "ipg"'s rate may not result in rate that does not
represent the actual peripheral clock rate.
Change the code to request "per" as our peripheral clock to avoid
aforementioned problem.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions