aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2017-08-10 11:29:54 +0800
committerUlf Hansson <[email protected]>2017-08-30 14:02:00 +0200
commit082bb85fbfb4b87787229182db4d22e5ed9fc8e6 (patch)
tree72510fb82005325b2ca75399a3006c4ba5e47418 /tools/perf/scripts/python
parent41279f0197583a0af4e52575bb8480c4f811b7a9 (diff)
mmc: sunxi: Fix clock rate passed to sunxi_mmc_clk_set_phase
sunxi_mmc_clk_set_phase expects the actual card clock rate to be passed to it. When the internal divider code was reworked in change ("mmc: sunxi: Support MMC DDR52 transfer mode with new timing mode"), this requirement was missed, and the module clock rate was passed in instead. This broke 8 bit DDR MMC on old controllers, as the module clock rate is double the card clock rate, for which we have no valid delay settings. Fix this by applying the internal divider to the clock rate right after we configure it in hardware. Signed-off-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions