usb: gadget: qdss: Do not clear driver_data field of EP during unconfig
Function drivers claim a USB endpoint during bind by setting its
driver_data field. This EP is taken by composite driver as part of
unbind or when config is removed. Hence, do not clear driver_data
field from qdss_disable (called on reset_config) to avoid NULL
pointer dereference when u_qdss later tries to access it to complete
disconnect processing.
Change-Id: Ia6890e5318c8d74bb7e0d179712d3b90d2d09a3d
CRs-Fixed: 435436
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
1 file changed