[PATCH] driver core: Disable late probes by default

From: Tomeu Vizoso
Date: Mon Oct 19 2015 - 11:14:23 EST


To smooth the transition to late probes, make disabled the default for
DELAY_DEVICE_PROBES and let individual SoCs enable the option as they
get fixed.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx>
Link: https://lkml.kernel.org/g/20151016181129.GA1764@xxxxxxxxxxxx

---

Hi Rob,

I'm sending this in case you think it would be best to leave the
on-demand probe series in -next for now but have late probes disabled to
avoid hassle to some people.

Regards,

Tomeu
---
drivers/base/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index b449b17055c9..17e711a725e3 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -326,7 +326,7 @@ endif

config DELAY_DEVICE_PROBES
bool "Allow delaying the probe of some devices" if EXPERT
- default y
+ default n
help
Devices can be matched to a driver and probed from the moment they
are registered, but early during boot their probes are likely to be
@@ -340,6 +340,6 @@ config DELAY_DEVICE_PROBES
In some platforms there may be implicit assumptions about when some
devices are probed, so enabling this option could cause problems there.

- If unsure, say Y here.
+ If unsure, say N here.

endmenu
--
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/