serial: omap: free the wakeup settings in remove
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
c9eaa447e7
Коммит
93a2e470ef
|
@ -1789,6 +1789,7 @@ static int serial_omap_remove(struct platform_device *dev)
|
||||||
pm_runtime_disable(up->dev);
|
pm_runtime_disable(up->dev);
|
||||||
uart_remove_one_port(&serial_omap_reg, &up->port);
|
uart_remove_one_port(&serial_omap_reg, &up->port);
|
||||||
pm_qos_remove_request(&up->pm_qos_request);
|
pm_qos_remove_request(&up->pm_qos_request);
|
||||||
|
device_init_wakeup(&dev->dev, false);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче