Commit b1bf4f41 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: disable USB_MULTITHREAD_PROBE

Disable the USB_MULTITHREAD_PROBE option because it causes crashes on
people's machines and they never remember to actually read the config
help files.

No one likes this, everyone hates it, I'm going to go eat worms...

The full logic will be ripped out later.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 53e8f84d
...@@ -72,22 +72,6 @@ config USB_SUSPEND ...@@ -72,22 +72,6 @@ config USB_SUSPEND
If you are unsure about this, say N here. If you are unsure about this, say N here.
config USB_MULTITHREAD_PROBE
bool "USB Multi-threaded probe (EXPERIMENTAL)"
depends on USB && EXPERIMENTAL
default n
help
Say Y here if you want the USB core to spawn a new thread for
every USB device that is probed. This can cause a small speedup
in boot times on systems with a lot of different USB devices.
This option should be safe to enable, but if any odd probing
problems are found, please disable it, or dynamically turn it
off in the /sys/module/usbcore/parameters/multithread_probe
file
When in doubt, say N.
config USB_OTG config USB_OTG
bool bool
depends on USB && EXPERIMENTAL depends on USB && EXPERIMENTAL
......
...@@ -88,14 +88,7 @@ static DECLARE_WAIT_QUEUE_HEAD(khubd_wait); ...@@ -88,14 +88,7 @@ static DECLARE_WAIT_QUEUE_HEAD(khubd_wait);
static struct task_struct *khubd_task; static struct task_struct *khubd_task;
/* multithreaded probe logic */ /* multithreaded probe logic */
static int multithread_probe = static int multithread_probe = 0;
#ifdef CONFIG_USB_MULTITHREAD_PROBE
1;
#else
0;
#endif
module_param(multithread_probe, bool, S_IRUGO);
MODULE_PARM_DESC(multithread_probe, "Run each USB device probe in a new thread");
/* cycle leds on hubs that aren't blinking for attention */ /* cycle leds on hubs that aren't blinking for attention */
static int blinkenlights = 0; static int blinkenlights = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment