diff options
author | Shengjiu Wang <[email protected]> | 2022-10-18 21:44:04 +0800 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2022-10-24 10:11:22 -0600 |
commit | 65fcf3872f83d63fb7268e05d4b02640df14126e (patch) | |
tree | b0fb6daf0fbdc1c11db68f78637c6a045614e228 /lib/mpi/mpiutil.c | |
parent | 247f34f7b80357943234f93f247a1ae6b6c3a740 (diff) |
remoteproc: core: Auto select rproc-virtio device id
With multiple remoteproc device, there will below error:
sysfs: cannot create duplicate filename '/bus/platform/devices/rproc-virtio.0'
The rvdev_data.index is duplicate, that cause issue, so
need to use the PLATFORM_DEVID_AUTO instead. After fixing
device name it becomes something like:
/bus/platform/devices/rproc-virtio.2.auto
Fixes: 1d7b61c06dc3 ("remoteproc: virtio: Create platform device for the remoteproc_virtio")
Signed-off-by: Shengjiu Wang <[email protected]>
Reviewed-by: Arnaud Pouliquen <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Tested-by: Peng Fan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[Fixed typographical error in comment block]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions