summaryrefslogtreecommitdiff
path: root/scripts/extract-cert.c
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2017-11-15 09:57:15 -0800
committerVijayavardhan Vennapusa <vvreddy@codeaurora.org>2018-07-06 16:01:33 +0530
commit36b8af952a88c5908b442f273ecdca21defd78ac (patch)
tree3f40a693c9daed797b48f3c51bb64793848e4320 /scripts/extract-cert.c
parentfd95dadf54bf08e910a4cad0bbce8d25e8813429 (diff)
dwc3: gadget: Take copy of dwc->gadget_driver before releasing lock
gadget_driver can become null if gadget_stop is called while any other gadget callbacks are in progress. As gadget callbacks needs to release spinlock before the callback, store the local copy of gadget_driver to avoid the race with gadget_stop. Change-Id: I7f0cbf9af3e3b286f2826647f08215f29f699de1 Signed-off-by: Mayank Rana <mrana@codeaurora.org> Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Diffstat (limited to 'scripts/extract-cert.c')
0 files changed, 0 insertions, 0 deletions