commit | 7637ceb8f2f3c846810fb444304950e40560826e | [log] [tgz] |
---|---|---|
author | Maria Yu <aiquny@codeaurora.org> | Fri Jul 26 17:49:44 2013 +0800 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Fri Jul 26 22:10:50 2013 -0700 |
tree | af076a29da29adf7e8118888e78e39049f57ecea | |
parent | 3f97a543c6e756b618b47f3a32c5c68e018f8352 [diff] |
USB: gadget: diag: Use spinlocks for protection when freeing requests There is possibility that when we do list_del in free_reqs, the list is modified simultanuously by others. This will result in the request not being found. Protect access using spinlocks. Change-Id: I20c3aeabaefe8786b9b453c7b08b5c9c18057184 CRs-Fixed: 518902 Signed-off-by: Maria Yu <aiquny@codeaurora.org>