mfd: ti_am335x_tscadc: Don't mark TSCADC MFD as wakeup capable
authorVignesh R <vigneshr@ti.com>
Sat, 30 Jun 2018 10:33:14 +0000 (16:03 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 9 Oct 2018 10:27:35 +0000 (11:27 +0100)
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>
drivers/mfd/ti_am335x_tscadc.c

index 7a30546880a4280a1a6e75e1066e89171c63ebce..ee3ffd96f5d2f84992abe604a8dcb8f53965c8dd 100644 (file)
@@ -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;