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