From: Sanjay Singh Rawat Date: Fri, 21 Mar 2014 08:25:10 +0000 (+0530) Subject: serial: omap: free the wakeup settings in remove X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93a2e470ef3b17495029a89a05e25830aeca1ffb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git serial: omap: free the wakeup settings in remove Signed-off-by: Sanjay Singh Rawat Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index dd8b1a5458ff..ecfafbb30356 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1789,6 +1789,7 @@ static int serial_omap_remove(struct platform_device *dev) pm_runtime_disable(up->dev); uart_remove_one_port(&serial_omap_reg, &up->port); pm_qos_remove_request(&up->pm_qos_request); + device_init_wakeup(&dev->dev, false); return 0; }