soc: qcom: llcc: Update the active/deactive status check
There are multiple LLCC instances in the hw and the status of activation or
deactivation from each LLCC instance is OR'ed for broadcast reads.
Whenever a slice is activated the active status of the broadcast is set
immidiately when one of the many LLCC instances finishes activation of
the slice. Concluding on activation as complete based on the broadcast read
may not be correct. Instead of polling on active status after activation
poll on the deactive status. So the deactive status will become 0 whenever
all the slices are active and vice versa for deactivate usecase.
Change-Id: I539008137de071ab5705560ef0795766172da32a
Signed-off-by:
Channagoud Kadabi <ckadabi@codeaurora.org>
Loading
Please register or sign in to comment