Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cec945c2 authored by Vignesh R's avatar Vignesh R Committed by Lee Jones
Browse files

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: default avatarVignesh R <vigneshr@ti.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5b394b2d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;