From: Michal Ostrowski Date: Fri, 15 Jul 2005 10:56:33 +0000 (-0700) Subject: [PATCH] rocket.c: Fix ldisc ref count handling X-Git-Tag: v2.6.13-rc4~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0;p=pandora-kernel.git [PATCH] rocket.c: Fix ldisc ref count handling If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. Signed-off-by: Michal Ostrowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed