Core control assumes that the clusters in the system are sorted
based on their capacity, i.e., first cluster is the minimum
capacity cluster and last cluster is the max capacity cluster,
but, there are systems which has max capacity cluster as first
cluster of the system and min capacity cluster as last cluster
in the system. This assumption breaks core control for systems
with max capacity system as first cluster. To make sure core
control won't be broken for such systems, pass sorted clusters
based on the capacity to cluster_init.
Change-Id: Ib27698080b9e4fe8b0e7789b9042d0a210fda486
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>