[PATCH v2] remoteproc: uclass: Modify uc_pdata->name to use combination of device name and device's parent name

Roger Quadros rogerq at kernel.org
Fri Aug 9 14:45:09 CEST 2024



On 07/08/2024 12:08, MD Danish Anwar wrote:
> uc_pdata->name is populated from device tree property "remoteproc-name".
> For those devcices that don't set "remoteproc-name", uc_pdata->name
> falls back to dev->name.
> 
> If two devices have same name, this will result into uc_pdata->name not
> being unique and rproc_init() will fail.
> 
> Fix this by using combination of dev->name and dev->parent->name instead
> of using just the dev->name to populate uc_pdata->name.
> 
> Signed-off-by: MD Danish Anwar <danishanwar at ti.com>

Reviewed-by: Roger Quadros <rogerq at kernel.org>


More information about the U-Boot mailing list