]> git.baikalelectronics.ru Git - kernel.git/commit
Input: st1232 - rely on I2C core to configure wakeup interrupt
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 21 Oct 2019 18:00:21 +0000 (11:00 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 29 Oct 2019 04:01:34 +0000 (21:01 -0700)
commit922ea366ff144bceed9f63e4f632430a76f340a1
treea9f453305047d6ab90a53898440454f97042a019
parente5f8b4ee10bee8296a2375b88ca91d95b555a66e
Input: st1232 - rely on I2C core to configure wakeup interrupt

When I2C client is created with I2C_CLIENT_WAKE flag (which happens
either because we have "wakeup-source" device property or the flag
was passed in when creating an I2C client manually), I2C core will
take care of configuring interrupt as wakeup source on suspend.

Tested-by: Matthias Fend <Matthias.Fend@wolfvision.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/st1232.c