From: Jiri Slaby Date: Mon, 19 Nov 2012 19:11:42 +0000 (+0100) Subject: TTY: isdn/gigaset destroy tty_port properly X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~83^2~37 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1862c14e107a5a21402852b0256b3c87bc1a5b00;p=pandora-kernel.git TTY: isdn/gigaset destroy tty_port properly Currently, the port may be destroyed twice or destroyed without being initialized. Fix this by sticking the destroy call in the right place as suggested by Tilman. Signed-off-by: Jiri Slaby Reported-by: Tilman Schmidt Cc: Hansjoerg Lipp Cc: gigaset307x-common@lists.sourceforge.net Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed