summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.195/linux-5.4-spidev_squack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.195/linux-5.4-spidev_squack.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.195/linux-5.4-spidev_squack.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.195/linux-5.4-spidev_squack.patch b/recipes-kernel/linux/linux-at91-5.4.195/linux-5.4-spidev_squack.patch
new file mode 100644
index 0000000..09fcb15
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-5.4.195/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
+