serial: tegra: fix tty-kref leak
authorJohan Hovold <jhovold@gmail.com>
Tue, 10 Sep 2013 10:50:48 +0000 (12:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2013 14:13:10 +0000 (07:13 -0700)
commit64dc8de491ef490e979fe65d83daaadf32c83633
tree2a1b5c71fe1acadaa184c03bc353f7be95db0bc8
parentfe0da74501e9eb204dc1b8167708bd9273f4277f
serial: tegra: fix tty-kref leak

commit cfd29aa0e81b791985e8428e6507e80e074e6730 upstream.

Fix potential tty-kref leak in stop_rx path.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c