Re: [PATCH v5 6/6] soc: qcom: llcc: Add QDU1000 and QRU1000 LLCC support

From: Komal Bajaj
Date: Wed Aug 02 2023 - 05:00:48 EST




On 7/24/2023 6:25 PM, Konrad Dybcio wrote:
On 24.07.2023 14:45, Mukesh Ojha wrote:

On 7/24/2023 2:11 PM, Komal Bajaj wrote:
Add LLCC configuration data for QDU1000 and QRU1000 SoCs.

Signed-off-by: Komal Bajaj <quic_kbajaj@xxxxxxxxxxx>
---
[...]

  static const struct qcom_sct_config sc7180_cfgs = {
      .llcc_config    = sc7180_cfg,
      .num_cfgs    = 1,
@@ -611,6 +672,11 @@ static const struct qcom_sct_config sm8550_cfgs = {
      .num_cfgs    = 1,
  };
  +static const struct qcom_sct_config qdu1000_cfgs = {
+    .llcc_config    = qdu1000_cfg,
+    .num_cfgs    = 1,

Should not this be 4 ?
Even better, use ARRAY_SIZE(name_of_arr)

Yes, Thanks for suggesting it.

-Komal


Konrad