Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: gadget: u_serial: add missing port entry locking
gserial_alloc_line() misses locking (for a release barrier) while resetting port entry on TTY allocation failure. Fix this. Cc: [email protected] Signed-off-by: Michał Mirosław <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Tested-by: Ladislav Michl <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
- Loading branch information