Skip to content

Commit

Permalink
serial: omap: free the wakeup settings in remove
Browse files Browse the repository at this point in the history
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sanjay Singh Rawat authored and Greg Kroah-Hartman committed Apr 16, 2014
1 parent c9eaa44 commit 93a2e47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/serial/omap-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 93a2e47

Please sign in to comment.