commit | a12bc32bc0f8a22c7c9159588131136cb77c8d57 | [log] [tgz] |
---|---|---|
author | Lena Salman <esalman@codeaurora.org> | Tue Jul 02 15:04:42 2013 +0300 |
committer | Lena Salman <esalman@codeaurora.org> | Tue Jul 02 15:05:41 2013 +0300 |
tree | 644cc18862a552ee1ce39415d3a338918e39dcc8 | |
parent | 83322fe198bb3c48fb6e8c327777cf0c6f06d59b [diff] |
usb: gadget: u_bam: Lock access to port_usb in start/stop transfers Add protection to access to port_usb fields in start/stop transfers. Otherwise the functions might compete with disconnect sequence and null dereference might occur. Change-Id: I7e62ddd98adc414cadf426daae900c5db04939ee Signed-off-by: Lena Salman <esalman@codeaurora.org>