commit | 6fb98fb3031359af42a6ee6984b477cbcfdca7bd | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Fri Jul 31 16:59:51 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Aug 04 22:07:22 2015 -0700 |
tree | 66929be0c0f0466f5caf9d9bbdb9e70869b8744f | |
parent | 2a0e5ef6cfa24351791fbd4339f562211b83afae [diff] |
serial: core: Use proper spinlock flavor in uart_close() uart_close() runs in non-atomic context only; use spin_lock/unlock_irq instead of saving the interrupt state (which == on). Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>