lkml.org 
[lkml]   [2023]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v1] coresight-tpdm: Correct the property name of MSR number
    Date
    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: 90a7371cb08d ("coresight-tpdm: Add nodes for dsb msr support")
    Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
    ---
    drivers/hwtracing/coresight/coresight-tpdm.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/hwtracing/coresight/coresight-tpdm.c b/drivers/hwtracing/coresight/coresight-tpdm.c
    index b25284e..97654aa 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);
    --
    2.7.4
    \
     
     \ /
      Last update: 2023-10-24 08:20    [W:9.220 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site