Skip to content

Commit 342530f

Browse files
Mani Milaniwsakernel
authored andcommitted
i2c: i801: Prefer async probe
This i801 driver probe can take more than ~190ms in some devices, since the "i2c_register_spd()" call was added inside "i801_probe_optional_slaves()". Prefer async probe so that other drivers can be probed and boot can continue in parallel while this driver loads, to reduce boot time. There is no reason to block other drivers from probing while this driver is loading. Signed-off-by: Mani Milani <mani@chromium.org> Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent fe68278 commit 342530f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-i801.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,7 @@ static struct pci_driver i801_driver = {
18381838
.shutdown = i801_shutdown,
18391839
.driver = {
18401840
.pm = &i801_pm_ops,
1841+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
18411842
},
18421843
};
18431844

0 commit comments

Comments
 (0)