projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdf84f9
)
platform/chrome: cros_ec_lpc: Mark PROBE_PREFER_ASYNCHRONOUS
author
Brian Norris
<briannorris@chromium.org>
Tue, 1 Nov 2022 22:22:07 +0000
(15:22 -0700)
committer
Tzung-Bi Shih
<tzungbi@kernel.org>
Wed, 2 Nov 2022 04:28:47 +0000
(12:28 +0800)
This takes on the order of 60ms to probe on some systems, so let it
probe asynchronously. It shouldn't have any dependencies that aren't
handled cleanly.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link:
https://lore.kernel.org/r/20221101152132.v2.2.Ib1036816e77aba71ebc16b71f7615c55d054689c@changeid
drivers/platform/chrome/cros_ec_lpc.c
patch
|
blob
|
history
diff --git
a/drivers/platform/chrome/cros_ec_lpc.c
b/drivers/platform/chrome/cros_ec_lpc.c
index
4830218
..
2e4dba7
100644
(file)
--- a/
drivers/platform/chrome/cros_ec_lpc.c
+++ b/
drivers/platform/chrome/cros_ec_lpc.c
@@
-557,6
+557,7
@@
static struct platform_driver cros_ec_lpc_driver = {
.name = DRV_NAME,
.acpi_match_table = cros_ec_lpc_acpi_device_ids,
.pm = &cros_ec_lpc_pm_ops,
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
.probe = cros_ec_lpc_probe,
.remove = cros_ec_lpc_remove,