diff options
| author | Manu Gautam <mgautam@codeaurora.org> | 2013-02-11 15:53:34 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:06:13 -0700 |
| commit | 5ffe965cf49f1a89d5f9e01ccb949efebfa9f4d8 (patch) | |
| tree | d09cf16491f01747a4dcdaa31d8efd6d903ee283 /include/linux/flex_array.h | |
| parent | 0e58b939fb33bc32f855e4e196d11f0fe1733a8b (diff) | |
usb: dwc3: gadget: Fail request submission if it was already queued
Function driver should not try to queue a busy request again to DCD
until DCD returns it by calling its completion handler or it is
explicitly dequeued. Some buggy function driver may try to submit a
request again which is with DCD resulting in corruption of request_list
leading to crash later in giveback. Catch such conditions and fail the
request submission to DCD.
CRs-Fixed: 447192
Change-Id: Id2a4a1720f61dffc50cc22598734f229caf07ff3
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
