mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] i2c: qcom-geni: Prefer asynchronous probing
@ 2026-11-11  9:09 Wenwen Fu
  2026-11-13 13:19 ` Mukesh Savaliya
  2026-11-13 14:32 ` Konrad Dybcio
  0 siblings, 2 replies; 3+ messages in thread
From: Wenwen Fu @ 2026-11-11  9:09 UTC (permalink / raw)
  To: andi.shyti
  Cc: mukesh.savaliya, viken.dadhaniya, linux-i2c, linux-arm-msm,
	linux-kernel, Wenwen Fu

When built in, GENI I2C can request serial-engine firmware during
probe. If initramfs unpacking is still in progress, request_firmware()
waits for it to complete, blocking subsequent driver initialization.

Prefer asynchronous probing so that other drivers can initialize in
parallel while the firmware request waits for initramfs unpacking.

Assisted-by: Codex:GPT-6
Signed-off-by: Wenwen Fu <wenwfu@qti.qualcomm.com>
---
 drivers/i2c/busses/i2c-qcom-geni.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-qcom-geni.c b/drivers/i2c/busses/i2c-qcom-geni.c
index 96dbf04138be..13c1ea2af0bf 100644
--- a/drivers/i2c/busses/i2c-qcom-geni.c
+++ b/drivers/i2c/busses/i2c-qcom-geni.c
@@ -1277,6 +1277,7 @@
 	.shutdown = geni_i2c_shutdown,
 	.driver = {
 		.name = "geni_i2c",
+		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 		.pm = &geni_i2c_pm_ops,
 		.of_match_table = geni_i2c_dt_match,
 		.acpi_match_table = ACPI_PTR(geni_i2c_acpi_match),

base-commit: 04e9bf1648f846976b543e91c1838a712433772a
-- 
2.43.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-13 14:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  9:09 [PATCH] i2c: qcom-geni: Prefer asynchronous probing Wenwen Fu
2026-11-13 13:19 ` Mukesh Savaliya
2026-11-13 14:32 ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®