diff options
author | 2017-01-12 10:58:16 -0800 | |
---|---|---|
committer | 2017-01-12 10:58:16 -0800 | |
commit | 1d865da79e3ba09362ef474807981d0634881f1d (patch) | |
tree | c7dd4e52534ccaec818ac8b127c2269849527a31 | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid (diff) | |
parent | rpmsg: virtio_rpmsg_bus: fix channel creation (diff) | |
download | wireguard-linux-1d865da79e3ba09362ef474807981d0634881f1d.tar.xz wireguard-linux-1d865da79e3ba09362ef474807981d0634881f1d.zip |
Merge tag 'rpmsg-v4.10-fixes' of git://github.com/andersson/remoteproc
Pull rpmsg fixes from Bjorn Andersson:
"This fixes a regression introduced in v4.10-rc1 that prohibits
multiple channels with the same name but different endpoint addresses
to be used"
* tag 'rpmsg-v4.10-fixes' of git://github.com/andersson/remoteproc:
rpmsg: virtio_rpmsg_bus: fix channel creation
-rw-r--r-- | drivers/rpmsg/rpmsg_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rpmsg/rpmsg_core.c b/drivers/rpmsg/rpmsg_core.c index a79cb5a9e5f2..1cfb775e8e82 100644 --- a/drivers/rpmsg/rpmsg_core.c +++ b/drivers/rpmsg/rpmsg_core.c @@ -453,8 +453,8 @@ int rpmsg_register_device(struct rpmsg_device *rpdev) struct device *dev = &rpdev->dev; int ret; - dev_set_name(&rpdev->dev, "%s:%s", - dev_name(dev->parent), rpdev->id.name); + dev_set_name(&rpdev->dev, "%s.%s.%d.%d", dev_name(dev->parent), + rpdev->id.name, rpdev->src, rpdev->dst); rpdev->dev.bus = &rpmsg_bus; rpdev->dev.release = rpmsg_release_device; |