summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.195/linux-5.4-spidev_squack.patch
blob: 09fcb15b0a52427b96e4f69ee0651dfd32dac7af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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