]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Input: adp5589-keys - do not unconditionally configure as wakeup source
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Dec 2020 21:13:25 +0000 (13:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Dec 2020 21:15:51 +0000 (13:15 -0800)
commit3e35c1946805b3ecc7967e0df2bd95a7d0e0bff1
tree907e96d7be23847aaf9f17f4c3dfea3d873e8342
parent94ddf7a371ff5d06281825bb63cf0ac61ca1928d
Input: adp5589-keys - do not unconditionally configure as wakeup source

We should not be configuring the controller as a wakeup source in the
driver, but rather rely on I2C core to mark it as such by either
instantiating as I2C_CLIENT_WAKEUP or specifying "wakeup-source" device
property.

Link: https://lore.kernel.org/r/20201120073920.3214492-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5589-keys.c