summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>2016-08-18 11:57:18 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-13 20:58:03 -0800
commitd4d45536aee4b02ee7872381eee3ec9b8b78858a (patch)
treecb7891549e3c219fe6c03d787c4fa8861f4feb68 /tools/perf/scripts/python
parent3162449f7d245d45f007d4ea3224576ddf1bcc63 (diff)
usb: gadget: composite: Add spinlock protection for usb config descriptor
During composition switch, android driver stops data transfers first and removes configuration before disabling pullup for USB3 controller. With this sequence there is a possibility for a race where usb_remove_config is in progress during which pullup is active and sending the setup request for configuration descriptor with zero configuration value. Hence fix the issue by adding spinlock protection for get_config descriptor. CRs-Fixed: 1052608 Change-Id: I65d38387f77addc9a8894a74f427d97313f90a9e Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org> Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions