]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memory: tegra: Loop update_clock_tree_delay()
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Thu, 4 Jul 2024 11:31:24 +0000 (12:31 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 29 Jul 2024 15:35:21 +0000 (17:35 +0200)
commitadc720820f963047210efc4fe1c1ff068b4bd773
tree08bfb025c83d44be0bba62bf76c4ef4fa6e184fa
parenta238f62b3666558f38d8abf688d0fecf4ccb48ee
memory: tegra: Loop update_clock_tree_delay()

As the current form of this function in a completely unrolled loop
over the RAM channels roll it up two levels to improve readability.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Link: https://lore.kernel.org/r/20240704-tegra210_emcfreq-v4-5-3e450503c555@tecnico.ulisboa.pt
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/tegra/tegra210-emc-cc-r21021.c