aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2019-10-21 10:55:56 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-10-28 21:01:24 -0700
commit16dc7c5c13f1482ac32b8ac7cbc1ad8ab13b0f5d (patch)
tree90e03abcf6a2534c4d7846cd44e884893dbe2b8b /drivers
parentInput: st1232 - simplify parsing of read buffer (diff)
downloadlinux-dev-16dc7c5c13f1482ac32b8ac7cbc1ad8ab13b0f5d.tar.xz
linux-dev-16dc7c5c13f1482ac32b8ac7cbc1ad8ab13b0f5d.zip
Input: st1232 - do not unconditionally configure as wakeup source
Do not unconditionally configure the touchscreen as wakeup source but rather rely on I2C core to do that when requested (either via "wakeup-source" device property, or when creating a client with I2C_CLIENT_WAKE flag). Tested-by: Matthias Fend <Matthias.Fend@wolfvision.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/st1232.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c
index 47033ef3749a..f1b97075aa9b 100644
--- a/drivers/input/touchscreen/st1232.c
+++ b/drivers/input/touchscreen/st1232.c
@@ -266,7 +266,6 @@ static int st1232_ts_probe(struct i2c_client *client,
}
i2c_set_clientdata(client, ts);
- device_init_wakeup(&client->dev, 1);
return 0;
}