mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-06 08:17:06 +08:00

These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
866 B
Diff
26 lines
866 B
Diff
From 42e26ba33995cfac447685a528362ef882fb0818 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 29 Nov 2021 12:14:49 +0000
|
|
Subject: [PATCH] spi: spidev: Restore loading from Device Tree
|
|
|
|
As happens occasionally, an upstream change has once again prevented
|
|
spidev from being loaded via Device Tree. We now need "spidev" to be
|
|
included in the new spi_device_id list, otherwise although the
|
|
spidev driver gets loaded no /dev/spidev*.* entries will appear.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/spi/spidev.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/spi/spidev.c
|
|
+++ b/drivers/spi/spidev.c
|
|
@@ -711,6 +711,7 @@ static const struct spi_device_id spidev
|
|
{ .name = "spi-authenta" },
|
|
{ .name = "em3581" },
|
|
{ .name = "si3210" },
|
|
+ { .name = "spidev" },
|
|
{},
|
|
};
|
|
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
|