commit | 49c02304fe97f88ee65f92368fe3f473201a7976 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Apr 09 18:56:32 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 30 09:26:55 2016 -0700 |
tree | daf7c48631b43083a4007b7b82f53f47010bfe99 | |
parent | 5c0517fefc92d636e409141ed75c29c3f1969107 [diff] |
serial: core: Expand port mutex section in uart_poll_init() Prepare uart_poll_init() to safely dereference uart port; expand the port mutex section to guarantee uart port remains valid until uart_poll_init() completes. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>