mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
The host1x-nvhost driver by default configures the clock rates for the host1x client devices to the maximum supported rate because there is runtime clock scaling support yet. However, currently the host1x-nvhost driver is only setting the rate for the client's first clock and not the others. Fix this by correcting the index used when iterating through the list of clocks. JIRA LS-410 Change-Id: If410ee25548c0dddecc5b0de9d8b6f4f687fd73c Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2657897 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit