summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-23 11:22:00 +0300
committerMax Krummenacher <max.krummenacher@toradex.com>2020-06-30 10:51:34 +0200
commitdd7047b66205305b04cae589a27c0cd66e554305 (patch)
tree434df81000724c746e9c1d0d265aa06a6b48d121
parentf58027c9d58875f73202aacfc55780fb00fc75a5 (diff)
colibri-imx6: fix (ec)spi rule
There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit e13aa11315c57980816d6a68f9c5216b455ee017)
-rw-r--r--recipes-core/udev/files/colibri-imx6/99-toradex.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/udev/files/colibri-imx6/99-toradex.rules b/recipes-core/udev/files/colibri-imx6/99-toradex.rules
index 9ba2fdf..06c1945 100644
--- a/recipes-core/udev/files/colibri-imx6/99-toradex.rules
+++ b/recipes-core/udev/files/colibri-imx6/99-toradex.rules
@@ -5,7 +5,7 @@ ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="colibri-ttya"
ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-ttyb"
ACTION=="add", ATTRS{iomem_base}=="0x21EC000", SYMLINK+="colibri-ttyc"
ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog"
-ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2014000.ecspi", SYMLINK+="colibri-spi-cs%n"
+ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2014000.*spi", SYMLINK+="colibri-spi-cs%n"
KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc"
KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc-boot%n"
KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="2198000.usdhc", SYMLINK+="emmc-part%n"