aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
authorSujeet Kumar <ksujeet@codeaurora.org>2014-03-03 16:31:39 -0800
committerSujeet Kumar <ksujeet@codeaurora.org>2014-03-04 06:36:13 +0530
commit414bda85c59c6e174418af0216d90745d14970e6 (patch)
treefe10449ca1ba0107c9b4f16d1280dd5f8d70f131 /scripts/build-all.py
parent7198e5fbd2a506a12fc0d5b6c5e4f63c060abf5e (diff)
USB: android: Handle composition switch failure for ACM function
Dont let usb_remove_function delete the list which is already freed from android_bind_config failure path. Because the number of endpoints are less on some targets, the composition with higher number of functions may lead to composition switch failure. In process of handling this failure, android_bind_config itself deletes the function from the list. Now when ACM does the same thing in its unbind handler via usb_remove_function, it leads to a crash. Currently many functions dont handle unbind, and same thing is processed from android_disable. To fix this ACM crash, dont call usb_remove_function. CRs-Fixed: 625177 Change-Id: I6fdab52254ddf03bd60c2c774df9a8836431d3ae Signed-off-by: Sujeet Kumar <ksujeet@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions