diff options
author | 2018-06-30 16:03:14 +0530 | |
---|---|---|
committer | 2018-10-09 11:27:35 +0100 | |
commit | cec945c293fb52ac1a1ac88703422d3bc1d8f10a (patch) | |
tree | 2adb1fd31cd14d61e5ace2739dd7a527ce6a5976 /drivers/mfd | |
parent | Linux 4.19-rc1 (diff) | |
download | linux-cec945c293fb52ac1a1ac88703422d3bc1d8f10a.tar.gz linux-cec945c293fb52ac1a1ac88703422d3bc1d8f10a.tar.bz2 linux-cec945c293fb52ac1a1ac88703422d3bc1d8f10a.zip |
mfd: ti_am335x_tscadc: Don't mark TSCADC MFD as wakeup capable
Currently tscadc MFD is marked as wakeup capable which incorrect
because, its actually touch event by child TSC device that wakes up the
system. Therefore, remove device_init_wakeup() call that marks TSCADC
device as wakeup capable in favor of moving to mark TSC input device as
wakeup capable later.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ti_am335x_tscadc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index 7a30546880a4..ee3ffd96f5d2 100644 --- a/drivers/mfd/ti_am335x_tscadc.c +++ b/drivers/mfd/ti_am335x_tscadc.c @@ -269,7 +269,6 @@ static int ti_tscadc_probe(struct platform_device *pdev) if (err < 0) goto err_disable_clk; - device_init_wakeup(&pdev->dev, true); platform_set_drvdata(pdev, tscadc); return 0; |