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>
Tue, 17 Sep 2013 17:05:47 +0000 (10:05 -0700)
commitcfd29aa0e81b791985e8428e6507e80e074e6730
tree865ba3ca6cb117d0e86f8e2ac13e038b2cf2e725
parent272b98c6455f00884f0350f775c5342358ebb73f
serial: tegra: fix tty-kref leak

Fix potential tty-kref leak in stop_rx path.

Cc: stable@vger.kernel.org
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