| commit | d0afed68fb1d586034be7a7e038488e83c37a89f | [log] [tgz] |
|---|---|---|
| author | Alan Cox <alan@linux.intel.com> | Mon May 14 14:51:22 2012 +0100 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 01 15:18:20 2012 +0800 |
| tree | 7724be7fb7dbbc971b55eb06c21d759f5e134cad | |
| parent | 0b3539aad80702d68bcc3211fb4f5779f84d9d75 [diff] |
tty: Allow uart_register/unregister/register commit 1e66cded334e6cea596c72f6f650eec351b1e959 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>