summaryrefslogtreecommitdiff
path: root/drivers/hid/i2c-hid
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2022-11-23 00:55:40 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-11-23 00:59:08 +0300
commit1796f808e4bb2c074824dc32258ed1e719370cb3 (patch)
treeb83189e5860f50ffd882a490f24afdd08cb30a86 /drivers/hid/i2c-hid
parentd86388c902b45fe2550eac08c47272541c726f84 (diff)
downloadlinux-1796f808e4bb2c074824dc32258ed1e719370cb3.tar.xz
HID: i2c-hid: acpi: Stop setting wakeup_capable
This is now handled by the i2c-core driver. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Link: https://lore.kernel.org/r/20220929093200.v6.9.I2efb7f551e0aa2dc4c53b5fd5bbea91a1cdd9b32@changeid Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid-acpi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid-acpi.c b/drivers/hid/i2c-hid/i2c-hid-acpi.c
index b96ae15e0ad9..375c77c3db74 100644
--- a/drivers/hid/i2c-hid/i2c-hid-acpi.c
+++ b/drivers/hid/i2c-hid/i2c-hid-acpi.c
@@ -105,11 +105,6 @@ static int i2c_hid_acpi_probe(struct i2c_client *client)
acpi_device_fix_up_power(adev);
- if (acpi_gbl_FADT.flags & ACPI_FADT_LOW_POWER_S0) {
- device_set_wakeup_capable(dev, true);
- device_set_wakeup_enable(dev, false);
- }
-
return i2c_hid_core_probe(client, &ihid_acpi->ops,
hid_descriptor_address, 0);
}