Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: cy8ctmg110_ts - do not hardcode as wakeup source

Let platform specify whether the controller should be a wakeup source
by registering as I2C_CLIENT_WAKE.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210603043726.3793876-3-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+1 -1
+1 -1
drivers/input/touchscreen/cy8ctmg110_ts.c
··· 233 233 goto err_free_irq; 234 234 235 235 i2c_set_clientdata(client, ts); 236 - device_init_wakeup(&client->dev, 1); 236 + 237 237 return 0; 238 238 239 239 err_free_irq: