]> git.baikalelectronics.ru Git - kernel.git/commit
rpmsg: glink-smem: Name the edge based on parent remoteproc
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 20 Aug 2019 04:16:56 +0000 (21:16 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 17 Sep 2019 22:33:31 +0000 (15:33 -0700)
commit97e18902a73a635f15d87e2e6a0017e3ae7eca8c
tree710656ed70b08e0b6433f8225469345817df6882
parentf9a76c67b15efdde0a35b7b53f575c23a9af5950
rpmsg: glink-smem: Name the edge based on parent remoteproc

Naming the glink edge device on the parent of_node short name causes
collisions when multiple remoteproc instances with only different unit
address are described on the platform_bus in DeviceTree.

Base the edge's name on the parent remoteproc's name instead, to ensure
that it's unique.

Reviewed-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/qcom_glink_smem.c