提交 93a2e470 编写于 作者: S Sanjay Singh Rawat 提交者: Greg Kroah-Hartman

serial: omap: free the wakeup settings in remove

Signed-off-by: NSanjay Singh Rawat <sanjay.rawat@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c9eaa447
...@@ -1789,6 +1789,7 @@ static int serial_omap_remove(struct platform_device *dev) ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册