From: Mario Limonciello <mario.limonciello@amd.com>
To: <dmitry.torokhov@gmail.com>
Cc: <linux-input@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<rrameshbabu@nvidia.com>,
Mario Limonciello <mario.limonciello@amd.com>
Subject: [PATCH v2 1/2] Input: i8042: Avoid probing if no keyboard and mouse are set in quirks
Date: Wed, 6 Dec 2023 15:21:39 -0600 [thread overview]
Message-ID: <20231206212140.7458-1-mario.limonciello@amd.com> (raw)
Some laptops have an i8042 controller in the SOC, nothing mentioned in
ACPI PNP and nothing connected to the controller. Add the ability to
skip probing in this case.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
drivers/input/serio/i8042-acpipnpio.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
index 9c39553d30fa..0fd88bbfaee1 100644
--- a/drivers/input/serio/i8042-acpipnpio.h
+++ b/drivers/input/serio/i8042-acpipnpio.h
@@ -1707,6 +1707,9 @@ static int __init i8042_platform_init(void)
"");
#endif
+ if (i8042_nokbd && i8042_noaux)
+ return -ENODEV;
+
retval = i8042_pnp_init();
if (retval)
return retval;
--
2.34.1
next reply other threads:[~2023-12-06 21:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-06 21:21 Mario Limonciello [this message]
2023-12-06 21:21 ` [PATCH v2 2/2] Input: i8042: Add a quirk for Framework 16" laptop Mario Limonciello
2023-12-06 21:54 ` Rahul Rameshbabu
2023-12-08 17:57 ` Dmitry Torokhov
2023-12-08 18:08 ` Rahul Rameshbabu
2023-12-08 18:22 ` Mario Limonciello
2023-12-06 21:55 ` [PATCH v2 1/2] Input: i8042: Avoid probing if no keyboard and mouse are set in quirks Rahul Rameshbabu
2023-12-07 20:39 ` Mario Limonciello
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231206212140.7458-1-mario.limonciello@amd.com \
--to=mario.limonciello@amd.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rrameshbabu@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®