diff options
| author | Pratham Pratap <prathampratap@codeaurora.org> | 2017-09-12 12:11:48 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-10-02 23:23:58 -0700 |
| commit | 8f84d3cbc8cabd0c9c62538c28665262e85fe8cd (patch) | |
| tree | 25a4e4cf2e451bbe9feb7bc566e3c86c18fe12cb /lib/mpi/mpi-internal.h | |
| parent | bd208931386764a067e10e686d4735d03830e9d6 (diff) | |
usb: gadget: gsi: Avoid spinlock lockup
In this case gsi_ctrl_clear_cpkt_queues function is called
which is holding spinlock and in the meantime dwc3_interrupt
occurred on same CPU which in turn is calling gsi_ctrl_clear_cpkt_queues
function and it is trying to acquire the same spinlock causing
deadlock.
This change disables the interrupts when spinlock is acquired
in gsi_ctrl_clear_cpkt_queues function.
Change-Id: Ia87a0a283ca6b6298083dddb448e4d649a4f8e89
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
