summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2022-02-04 16:22:53 -0600
committerJason Reiss <jreiss@multitech.com>2022-02-04 16:22:53 -0600
commit374ba433f7573702ab3d58581ce62192a345fc90 (patch)
treedaa28d29db3f1b206ea8ac2c7ddf296feda29d40 /recipes-bsp
parent45eed7d6952c19e586b3d71d7f3789f0132bd278 (diff)
downloadmeta-multitech-374ba433f7573702ab3d58581ce62192a345fc90.tar.gz
meta-multitech-374ba433f7573702ab3d58581ce62192a345fc90.tar.bz2
meta-multitech-374ba433f7573702ab3d58581ce62192a345fc90.zip
Add MTCDTIP case to call modprobe spidev in mts-io.init
Diffstat (limited to 'recipes-bsp')
-rwxr-xr-xrecipes-bsp/multitech/mts-io/mts-io.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index b62bcb1..f4bc6ed 100755
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -209,11 +209,11 @@ read_card_info() {
lora_hw=$(${SYSFS} show lora/hw-version 2> /dev/null)
if [[ $hw_name == MTCDT3 ]] ; then
- # SYM Link and spidev module is not needed in MTCDT3.
+ # spidev module is not needed in MTCDT3.
return 0
fi
- if [[ ${hw_name} == MTCAP ]] || [[ ${hw_name} == MTCDT ]]; then
+ if [[ ${hw_name} == MTCAP ]] || [[ ${hw_name} == MTCDT ]] || [[ ${hw_name} == MTCDTIP ]]; then
modprobe spidev
elif [[ ${hw_name} == MTCDTIPHP ]]; then
modprobe spidev