coresight-tpdm: Correct the property name of MSR number
authorTao Zhang <quic_taozha@quicinc.com>
Tue, 24 Oct 2023 06:19:13 +0000 (14:19 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Thu, 16 Nov 2023 11:36:38 +0000 (11:36 +0000)
Correct the property name of the DSB MSR number that needs to be
read in TPDM driver. The right property name is
"qcom,dsb-msrs-num".

Fixes: 350ba15ae187 ("coresight-tpdm: Add nodes for dsb msr support")
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
[ Fix checkpatch failure in the commit description ]
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/1698128353-31157-1-git-send-email-quic_taozha@quicinc.com
drivers/hwtracing/coresight/coresight-tpdm.c

index b25284e06395fcc18e0c3e2ef520933cbbc18fb9..97654aa4b772a07307f798ed93a79fb760960ed0 100644 (file)
@@ -892,7 +892,7 @@ static int tpdm_probe(struct amba_device *adev, const struct amba_id *id)
 
        if (drvdata && tpdm_has_dsb_dataset(drvdata))
                of_property_read_u32(drvdata->dev->of_node,
-                          "qcom,dsb_msr_num", &drvdata->dsb_msr_num);
+                          "qcom,dsb-msrs-num", &drvdata->dsb_msr_num);
 
        /* Set up coresight component description */
        desc.name = coresight_alloc_device_name(&tpdm_devs, dev);