mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-22 14:51:41 +00:00
21 lines
791 B
Diff
21 lines
791 B
Diff
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
|
|
index 9e2e099b..a065943d 100644
|
|
--- a/drivers/spi/spidev.c
|
|
+++ b/drivers/spi/spidev.c
|
|
@@ -749,13 +749,11 @@ 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
|
|
*/
|
|
if (spi->dev.of_node && !of_match_device(spidev_dt_ids, &spi->dev)) {
|
|
- dev_err(&spi->dev, "buggy DT: spidev listed directly in DT\n");
|
|
- WARN_ON(spi->dev.of_node &&
|
|
- !of_match_device(spidev_dt_ids, &spi->dev));
|
|
+ dev_info(&spi->dev, "probing from DT");
|
|
}
|
|
|
|
spidev_probe_acpi(spi);
|