diff mbox series

[v1,2/2] coresight-tpda: Change qcom,dsb-element-size to qcom,dsb-elem-bits

Message ID 20240213160521.15925-3-quic_jinlmao@quicinc.com (mailing list archive)
State New, archived
Headers show
Series coresight: tpdm: Change qcom,dsb-element-size to qcom,dsb-elem-bits | expand

Commit Message

Mao Jinlong Feb. 13, 2024, 4:05 p.m. UTC
Change qcom,dsb-element-size to qcom,dsb-elem-bits as the unit is bit.

Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
---
 drivers/hwtracing/coresight/coresight-tpda.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/hwtracing/coresight/coresight-tpda.c b/drivers/hwtracing/coresight/coresight-tpda.c
index 6863afe7ca94..5d20e10be24b 100644
--- a/drivers/hwtracing/coresight/coresight-tpda.c
+++ b/drivers/hwtracing/coresight/coresight-tpda.c
@@ -70,7 +70,7 @@  static int tpdm_read_element_size(struct tpda_drvdata *drvdata,
 
 	if (tpdm_has_dsb_dataset(tpdm_data)) {
 		rc = fwnode_property_read_u8(dev_fwnode(csdev->dev.parent),
-				"qcom,dsb-element-size", &drvdata->dsb_esize);
+				"qcom,dsb-element-bits", &drvdata->dsb_esize);
 	}
 	if (tpdm_has_cmb_dataset(tpdm_data)) {
 		rc = fwnode_property_read_u32(dev_fwnode(csdev->dev.parent),