forked from Mirror/pmbootstrap
modem/modem-qcom-msm-mainline-common: check name attribute (#1485)
On my device the rpmsg0 have DATA5_CNTL under name attribute instead of rpmsg_name ``` looking at device '/devices/platform/smd/smd:modem/smd:modem.rpmsg_chrdev.0.0/rpmsg/rpmsg_ctrl1/rpmsg0': KERNEL=="rpmsg0" SUBSYSTEM=="rpmsg" DRIVER=="" ATTR{dst}=="0" ATTR{src}=="0" ATTR{name}=="DATA5_CNTL" ``` So check for name instead of rpmsg_name.
This commit is contained in:
parent
56297edcf9
commit
a42155e7ef
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
SUBSYSTEM!="rpmsg", GOTO="qcom_rpmsg_end"
|
||||
|
||||
# symlink rpmsg endpoints under useful names
|
||||
ATTR{rpmsg_name}=="DATA5_CNTL", SYMLINK+="modem"
|
||||
ATTR{name}=="DATA5_CNTL", SYMLINK+="modem"
|
||||
|
||||
# open SMD channels when the remoteproc comes up
|
||||
KERNEL!="rpmsg_ctrl[0-9]*", GOTO="qcom_rpmsg_end"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue