summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-spidev_squack.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-08-03 16:05:59 -0500
committerJohn Klug <john.klug@multitech.com>2022-09-27 11:01:17 -0500
commitc2681c7afc6510689e6d3fb989602b66028eaf86 (patch)
tree9ea03bb0bcfc396bc4de4a589fadb2e96c0f9ccc /recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-spidev_squack.patch
parentd1784c7954363d24eef73f7e49cbebf494bc2c10 (diff)
downloadmeta-multitech-atmel-c2681c7afc6510689e6d3fb989602b66028eaf86.tar.gz
meta-multitech-atmel-c2681c7afc6510689e6d3fb989602b66028eaf86.tar.bz2
meta-multitech-atmel-c2681c7afc6510689e6d3fb989602b66028eaf86.zip
Add 5.5.199 kernel files
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-spidev_squack.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-spidev_squack.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-spidev_squack.patch b/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-spidev_squack.patch
new file mode 100644
index 0000000..09fcb15
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-5.4.199/linux-5.4-spidev_squack.patch
@@ -0,0 +1,24 @@
+From 0a763d945e6e495c605cc8ca81df4ca6f22b3b43 Mon Sep 17 00:00:00 2001
+From: Mykyta Dorokhin <mykyta.dorokhin@globallogic.com>
+Date: Tue, 12 Jan 2021 23:27:55 +0200
+Subject: [PATCH] linux-5.4-spidev_squack.patch
+
+---
+ drivers/spi/spidev.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
+index be503a0..a2b6825 100644
+--- a/drivers/spi/spidev.c
++++ b/drivers/spi/spidev.c
+@@ -678,6 +678,7 @@ static int spidev_release(struct inode *inode, struct file *filp)
+ { .compatible = "lwn,bk4" },
+ { .compatible = "dh,dhcom-board" },
+ { .compatible = "menlo,m53cpld" },
++ { .compatible = "mts,mtac" },
+ {},
+ };
+ MODULE_DEVICE_TABLE(of, spidev_dt_ids);
+--
+1.9.1
+