summaryrefslogtreecommitdiff
path: root/include/linux/mbcache.h
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2015-11-16 12:31:24 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:58:22 -0700
commit3c2bb805ce85ab68dda76cb847f6d222c190846c (patch)
tree9401cfc8c5f15cb4bb5e7a909dac675d87612343 /include/linux/mbcache.h
parentea1cd34463715f0776b9b992016000277f550841 (diff)
usb: u_data_bridge: Check for USB cable connect with gbridge_port_write()
There is NULL pointer crash seen due to accessing port->port_usb from gbridge_port_write() when port bridge application's write thread is pre-empted and USB cable disconnect is being performed. Fix this issue by adding check for USB cable is connected or not and handling USB request accordingly. Change-Id: Ide14de298b7186cbe7b7af1e99c8c47bc389130b Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'include/linux/mbcache.h')
0 files changed, 0 insertions, 0 deletions