summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2022-11-22 13:57:20 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-11-22 13:59:29 -0800
commitf16fb37dad4fcbd8185499ed7fb01c4012e5eed4 (patch)
tree2560c19e16c8616f541aa75304f902d0fe73adcb
parent44a87dd73be4e6e0a3d7babb4f7166b2a805bc7b (diff)
downloadlinux-stable-f16fb37dad4fcbd8185499ed7fb01c4012e5eed4.tar.gz
linux-stable-f16fb37dad4fcbd8185499ed7fb01c4012e5eed4.tar.bz2
linux-stable-f16fb37dad4fcbd8185499ed7fb01c4012e5eed4.zip
Input: raydium_ts_i2c - don't set wake_capable and wake_irq
The i2c-core will now handle setting the wake_irq and wake capability for DT and ACPI systems. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Link: https://lore.kernel.org/r/20220929093200.v6.13.Ia0b24ab02c22125c5fd686cc25872bd26c27ac23@changeid Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/touchscreen/raydium_i2c_ts.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.c
index 66c5b577b791..88d187dc5d32 100644
--- a/drivers/input/touchscreen/raydium_i2c_ts.c
+++ b/drivers/input/touchscreen/raydium_i2c_ts.c
@@ -1185,15 +1185,6 @@ static int raydium_i2c_probe(struct i2c_client *client,
return error;
}
- /*
- * The wake IRQ should be declared via device tree instead of assuming
- * the IRQ can wake the system. This is here for legacy reasons and
- * will be removed once the i2c-core supports querying ACPI for wake
- * capabilities.
- */
- if (!client->dev.power.wakeirq)
- dev_pm_set_wake_irq(&client->dev, client->irq);
-
error = devm_device_add_group(&client->dev,
&raydium_i2c_attribute_group);
if (error) {