[PATCH v1 3/5] coresight: Explicitly use the parent device handler
Leo Yan
leo.yan at arm.com
Thu Sep 11 02:21:48 PDT 2025
On Thu, Sep 11, 2025 at 09:52:20AM +0100, Suzuki Kuruppassery Poulose wrote:
[...]
> > @@ -1393,7 +1397,7 @@ struct coresight_device *coresight_register(struct coresight_desc *desc)
> > err_out:
> > /* Cleanup the connection information */
> > - coresight_release_platform_data(NULL, desc->dev, desc->pdata);
> > + coresight_release_platform_data(NULL, csdev->dev.parent, desc->pdata);
>
> This may be problematic, as the csdev could be NULL ?
Indeed. I will drop this change in next version.
Thanks,
Leo
More information about the linux-arm-kernel
mailing list