From: Mani Milani Date: Fri, 26 Aug 2022 07:44:30 +0000 (+1000) Subject: i2c: i801: Prefer async probe X-Git-Tag: v6.6.17~6503^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=342530f7fe1ada578452c4daa2c9b5902cedf480;p=platform%2Fkernel%2Flinux-rpi.git 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 Tested-by: Jarkko Nikula Reviewed-by: Jean Delvare Signed-off-by: Wolfram Sang --- diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index a176296..e06509e 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c @@ -1838,6 +1838,7 @@ static struct pci_driver i801_driver = { .shutdown = i801_shutdown, .driver = { .pm = &i801_pm_ops, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };