summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing
diff options
context:
space:
mode:
authorTao Zhang <quic_taozha@quicinc.com>2023-10-24 14:19:13 +0800
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-11-16 11:36:38 +0000
commitc4137932d11dff5a347e3462cc52383fc333b86b (patch)
tree52837a3199a80ffb6a16287fddfbfb94a2a34300 /drivers/hwtracing
parentdabf410d8764dbb24832d18bb825fe7ba5e75d30 (diff)
downloadlinux-stable-c4137932d11dff5a347e3462cc52383fc333b86b.tar.gz
linux-stable-c4137932d11dff5a347e3462cc52383fc333b86b.tar.bz2
linux-stable-c4137932d11dff5a347e3462cc52383fc333b86b.zip
coresight-tpdm: Correct the property name of MSR number
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
Diffstat (limited to 'drivers/hwtracing')
-rw-r--r--drivers/hwtracing/coresight/coresight-tpdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwtracing/coresight/coresight-tpdm.c b/drivers/hwtracing/coresight/coresight-tpdm.c
index b25284e06395..97654aa4b772 100644
--- a/drivers/hwtracing/coresight/coresight-tpdm.c
+++ b/drivers/hwtracing/coresight/coresight-tpdm.c
@@ -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);