42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From 0ac2b347b82bbfa2e984b0fa477922d57a476985 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
|
Date: Mon, 10 Feb 2020 01:00:12 +0100
|
|
Subject: [PATCH 156/469] Mark some slow drivers for async probe with
|
|
PROBE_PREFER_ASYNCHRONOUS
|
|
|
|
This makes it faster to boot TBS A711 tablet.
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
drivers/iio/accel/bma180.c | 1 +
|
|
drivers/nfc/nxp-nci/i2c.c | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c
|
|
index eb697eeb4301..8e5e3b39f23c 100644
|
|
--- a/drivers/iio/accel/bma180.c
|
|
+++ b/drivers/iio/accel/bma180.c
|
|
@@ -1133,6 +1133,7 @@ static struct i2c_driver bma180_driver = {
|
|
.name = "bma180",
|
|
.pm = pm_sleep_ptr(&bma180_pm_ops),
|
|
.of_match_table = bma180_of_match,
|
|
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
|
},
|
|
.probe_new = bma180_probe,
|
|
.remove = bma180_remove,
|
|
diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c
|
|
index d4c299be7949..7c7608a3510c 100644
|
|
--- a/drivers/nfc/nxp-nci/i2c.c
|
|
+++ b/drivers/nfc/nxp-nci/i2c.c
|
|
@@ -347,6 +347,7 @@ static struct i2c_driver nxp_nci_i2c_driver = {
|
|
.name = NXP_NCI_I2C_DRIVER_NAME,
|
|
.acpi_match_table = ACPI_PTR(acpi_id),
|
|
.of_match_table = of_nxp_nci_i2c_match,
|
|
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
|
},
|
|
.probe_new = nxp_nci_i2c_probe,
|
|
.id_table = nxp_nci_i2c_id_table,
|
|
--
|
|
2.34.1
|
|
|