[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 2 Feb 2023 14:47:28 +0000
From: Allen Ballway <ballway@...omium.org>
To: benjamin.tissoires@...hat.com
Cc: jikos@...nel.org, lukas.bulwahn@...il.com,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Allen Ballway <ballway@...omium.org>
Subject: [PATCH] HID: multitouch: Fix typo in config check
Fixes a typo causing a config check to look for a nonexistent config,
leaving the affected code unusable.
Signed-off-by: Allen Ballway <ballway@...omium.org>
---
drivers/hid/hid-quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index 78452faf3c9b4..8417066b5ff72 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -1300,7 +1300,7 @@ unsigned long hid_lookup_quirk(const struct hid_device *hdev)
mutex_unlock(&dquirks_lock);
/* Get quirks specific to I2C devices */
- if (IS_ENABLED(CONFIG_I2C_DMI_CORE) && IS_ENABLED(CONFIG_DMI) &&
+ if (IS_ENABLED(CONFIG_I2C_HID_CORE) && IS_ENABLED(CONFIG_DMI) &&
hdev->bus == BUS_I2C)
quirks |= i2c_hid_get_dmi_quirks(hdev->vendor, hdev->product);
--
2.39.1.456.gfc5497dd1b-goog
Powered by blists - more mailing lists