summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-spidev_squack.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-11-11 16:17:52 -0600
committerJohn Klug <john.klug@multitech.com>2020-11-11 16:17:52 -0600
commit4bb6f26b05450777d14aa96e10783066c2503dc2 (patch)
tree3ed6c4bb86736d28926fd37a3c2b4eb81de44c82 /recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-spidev_squack.patch
downloadmeta-multitech-atmel-fc2577905bfab8d05f91c835e2bf821861e1d8b0.tar.gz
meta-multitech-atmel-fc2577905bfab8d05f91c835e2bf821861e1d8b0.tar.bz2
meta-multitech-atmel-fc2577905bfab8d05f91c835e2bf821861e1d8b0.zip
Add new BSP submodule for Atmel Processors.5.3.0b5.3.0a
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-spidev_squack.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-spidev_squack.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-spidev_squack.patch b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-spidev_squack.patch
new file mode 100644
index 0000000..bad1743
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-spidev_squack.patch
@@ -0,0 +1,11 @@
+diff -Naru linux-4.9.87.orig/drivers/spi/spidev.c linux-4.9.87/drivers/spi/spidev.c
+--- linux-4.9.87.orig/drivers/spi/spidev.c 2018-12-13 14:17:40.000000000 -0600
++++ linux-4.9.87/drivers/spi/spidev.c 2018-12-17 10:13:53.752668552 -0600
+@@ -696,6 +696,7 @@
+ static const struct of_device_id spidev_dt_ids[] = {
+ { .compatible = "rohm,dh2228fv" },
+ { .compatible = "lineartechnology,ltc2488" },
++ { .compatible = "mts,mtac" },
+ {},
+ };
+ MODULE_DEVICE_TABLE(of, spidev_dt_ids);