summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-spidev_squack.patch
diff options
context:
space:
mode:
authorMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2021-01-14 18:15:06 +0200
committerMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2021-01-14 18:15:06 +0200
commit9efe03c07d0abd47d67c78be06d2af22f3f66eb1 (patch)
treec5e6451b341bd64f5aabf35be5595927e6a40bff /recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-spidev_squack.patch
parent2ef6078c7e83b8ba9d470a2ce70a4bacda65ef24 (diff)
downloadmeta-multitech-atmel-9efe03c07d0abd47d67c78be06d2af22f3f66eb1.tar.gz
meta-multitech-atmel-9efe03c07d0abd47d67c78be06d2af22f3f66eb1.tar.bz2
meta-multitech-atmel-9efe03c07d0abd47d67c78be06d2af22f3f66eb1.zip
linux 5.4: reimplemented patches
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-spidev_squack.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-spidev_squack.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-spidev_squack.patch b/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-spidev_squack.patch
new file mode 100644
index 0000000..09fcb15
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-5.4.81/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
+