diff options
| author | MD Danish Anwar <[email protected]> | 2024-08-07 14:38:29 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-27 11:17:39 -0600 |
| commit | 6dd95456f741ab08e444c4c338ad43c09f11bea4 (patch) | |
| tree | 0d7ec5abe50aec9434aad0019152ca86eb6aa72c /include/linux | |
| parent | a7026b0003ad610319b05e76ad2838fe5abe72ef (diff) | |
remoteproc: uclass: Modify uc_pdata->name to use combination of device name and device's parent name
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 <[email protected]>
Reviewed-by: Roger Quadros <[email protected]>
Reviewed-by: Andrew Davis <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
