commit | 1e66cded334e6cea596c72f6f650eec351b1e959 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Mon May 14 14:51:22 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 09:04:28 2012 -0700 |
tree | ab344befd3d74f3ff168d0ab264adb3020e60a34 | |
parent | 1541f845d123a48fbca3cee32b2963b3fb3da83a [diff] |
tty: Allow uart_register/unregister/register This is legitimate but because we don't clear the drv->state pointer in the unregister code causes a bogus BUG(). Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=42880 Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>