]> git.baikalelectronics.ru Git - kernel.git/commit
Input: adp5588-keys - do not explicitly set device as wakeup source
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 31 May 2022 21:08:40 +0000 (14:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 31 May 2022 21:09:43 +0000 (14:09 -0700)
commit712dd973a604394331a444d28e4d6eda0bb15947
treef7a1f8992c7791fbf8eda765bd68cd14ee40aa56
parentb37f1c7d893b19eb1737bad0b4a18faea03da07d
Input: adp5588-keys - do not explicitly set device as wakeup source

I2C core will set up device as a wakeup source and will configure interrupt
as a wakeup interrupt if client is created with I2C_CLIENT_WAKE flag. Let's
rely on this facility and to not unconditionally set up the device as
wakeup device in the driver.

Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Link: https://lore.kernel.org/r/20220528045631.289821-4-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5588-keys.c