提交 1796f808 编写于 作者: R Raul E Rangel 提交者: Dmitry Torokhov

HID: i2c-hid: acpi: Stop setting wakeup_capable

This is now handled by the i2c-core driver.
Signed-off-by: NRaul E Rangel <rrangel@chromium.org>
Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20220929093200.v6.9.I2efb7f551e0aa2dc4c53b5fd5bbea91a1cdd9b32@changeidSigned-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 d86388c9
...@@ -105,11 +105,6 @@ static int i2c_hid_acpi_probe(struct i2c_client *client) ...@@ -105,11 +105,6 @@ static int i2c_hid_acpi_probe(struct i2c_client *client)
acpi_device_fix_up_power(adev); 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, return i2c_hid_core_probe(client, &ihid_acpi->ops,
hid_descriptor_address, 0); hid_descriptor_address, 0);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册