[Armadeus-commitlog] armadeus branch, master, updated. armadeus-7.0-176-gd1425ecc2
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2020-03-26 15:04:11
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via d1425ecc2bd6aafa0cfd7866b7b4eaca760b3a5f (commit)
from 934c435d94c3a6f1ca499aef87f5136244269ec1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d1425ecc2bd6aafa0cfd7866b7b4eaca760b3a5f
Author: Sébastien Szymanski <seb...@ar...>
Date: Thu Mar 26 16:02:08 2020 +0100
[LINUX] 4.19: fix patch 0514
-----------------------------------------------------------------------
Summary of changes:
...us-remove-spidev-oops-warning-at-load-time.patch | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/patches/linux/4.19/0514-armadeus-remove-spidev-oops-warning-at-load-time.patch b/patches/linux/4.19/0514-armadeus-remove-spidev-oops-warning-at-load-time.patch
index aec21e419..62cc953f4 100644
--- a/patches/linux/4.19/0514-armadeus-remove-spidev-oops-warning-at-load-time.patch
+++ b/patches/linux/4.19/0514-armadeus-remove-spidev-oops-warning-at-load-time.patch
@@ -2,12 +2,13 @@ Prevent kernel oops (warning) when modprobing spidev module on recent Linux
kernels with device tree support.
Signed-off-by: Julien Boibessot <jul...@ar...>
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
-Index: linux/drivers/spi/spidev.c
+Index: linux-4.19.113/drivers/spi/spidev.c
===================================================================
---- linux.orig/drivers/spi/spidev.c
-+++ linux/drivers/spi/spidev.c
-@@ -669,6 +669,7 @@ static struct class *spidev_class;
+--- linux-4.19.113.orig/drivers/spi/spidev.c
++++ linux-4.19.113/drivers/spi/spidev.c
+@@ -672,6 +672,7 @@ static const struct of_device_id spidev_
{ .compatible = "lineartechnology,ltc2488" },
{ .compatible = "ge,achc" },
{ .compatible = "semtech,sx1301" },
@@ -15,3 +16,15 @@ Index: linux/drivers/spi/spidev.c
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);
+@@ -727,9 +728,11 @@ static int spidev_probe(struct spi_devic
+ * compatible string, it is a Linux implementation thing
+ * rather than a description of the hardware.
+ */
++ /*
+ WARN(spi->dev.of_node &&
+ of_device_is_compatible(spi->dev.of_node, "spidev"),
+ "%pOF: buggy DT: spidev listed directly in DT\n", spi->dev.of_node);
++ */
+
+ spidev_probe_acpi(spi);
+
hooks/post-receive
--
armadeus
|