Skip to content

Commit f9482da

Browse files
committed
Revert "HID: core: Call request_module before doing device_add"
This reverts commit a025a18. This patch and 4ceabaf are giving extended timeouts on boot for at least Ubuntu and openSUSE. Revert them until we get a better fix. Link: https://bugzilla.kernel.org/show_bug.cgi?id=203741 Acked-by: Jiri Kosina <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent e0b7f9b commit f9482da

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/hid/hid-core.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2364,14 +2364,6 @@ int hid_add_device(struct hid_device *hdev)
23642364
dev_set_name(&hdev->dev, "%04X:%04X:%04X.%04X", hdev->bus,
23652365
hdev->vendor, hdev->product, atomic_inc_return(&id));
23662366

2367-
/*
2368-
* Try loading the module for the device before the add, so that we do
2369-
* not first have hid-generic binding only to have it replaced
2370-
* immediately afterwards with a specialized driver.
2371-
*/
2372-
request_module("hid:b%04Xg%04Xv%08Xp%08X",
2373-
hdev->bus, hdev->group, hdev->vendor, hdev->product);
2374-
23752367
hid_debug_register(hdev, dev_name(&hdev->dev));
23762368
ret = device_add(&hdev->dev);
23772369
if (!ret)

0 commit comments

Comments
 (0)