mirror of
https://github.com/armbian/build.git
synced 2025-08-09 04:36:58 +02:00
* Bump imx6 edge to 5.12.y * Bump odroid xu4 edge to 5.12.y * Bump Jetson nano edge to 5.12.y * WIP: Bump sunxi to 5.12.y - create a copy of patches and make a new link - wireless patches needs adjutement to 5.12 - some patches are still failing * Adjust wireless patches to build on 5.12.y * Remove template wireless patch * Move Espressobin edge to 5.12.y * Bump mvebu to 5.12 - patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath - adjusted wireless driver for 8723ds * Adjust sunxi / sunxi64 edge to compile * Fix kernel config for Jetson nano edge * bump meson64 to 5.12.y * bump rockchip edge to 5.12.y * Bump rockchip64 to 5.12.y * Bump rk322x edge to 5.12.y @paolosabatino * Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y * Update odroidxu4 edge links * rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules * Cleanup: remove deprecated config Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
23 lines
811 B
Diff
23 lines
811 B
Diff
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
|
|
index b0c76e262..c56f6dc4c 100644
|
|
--- a/drivers/spi/spidev.c
|
|
+++ b/drivers/spi/spidev.c
|
|
@@ -722,12 +722,12 @@ static int spidev_probe(struct spi_device *spi)
|
|
|
|
/*
|
|
* spidev should never be referenced in DT without a specific
|
|
- * compatible string, it is a Linux implementation thing
|
|
- * rather than a description of the hardware.
|
|
+ * compatible string, but people don't care and use DT overlays
|
|
+ * to activate SPIdev on demand
|
|
*/
|
|
- 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);
|
|
+ if (spi->dev.of_node && !of_match_device(spidev_dt_ids, &spi->dev)) {
|
|
+ dev_info(&spi->dev, "probing from DT");
|
|
+ }
|
|
|
|
spidev_probe_acpi(spi);
|
|
|