memory: tegra: sort tegra234_mc_clients table as per register offsets
authorSumit Gupta <sumitg@nvidia.com>
Wed, 21 Jun 2023 13:43:57 +0000 (19:13 +0530)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 25 Jul 2023 20:09:35 +0000 (22:09 +0200)
commit6d0c4aa516280c3bab82cd3c53d142401eccab26
tree1a22f644b3580d83cf7e94f7dcb9b2905ef99c73
parentfaafd6ca7e6e7100d21d3f43ec17674f36c9f843
memory: tegra: sort tegra234_mc_clients table as per register offsets

Sort the MC client entries in "tegra234_mc_clients" table as per the
override and security register offsets. This will help to avoid
creating duplicate entries.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20230621134400.23070-2-sumitg@nvidia.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/tegra/tegra234.c