diff options
| author | Ajay Agarwal <ajaya@codeaurora.org> | 2017-04-11 12:43:56 +0530 |
|---|---|---|
| committer | Ajay Agarwal <ajaya@codeaurora.org> | 2017-04-12 15:43:42 +0530 |
| commit | 61add90b905cda22bdd98f743bda7738247bb2f2 (patch) | |
| tree | b1a70b50e1713af3c534354ddd2feceaa92ac705 /net/unix/garbage.c | |
| parent | a3851309dbf7e919b27e2ec927ba3f6350347dff (diff) | |
usb: gadget: ffs: Fix runtime PM usage count for multiple set_alt
In some scenarios such as USBCV tests, multiple set_alt
could be issued with same interface and alternate
setting. In that case, EPs are disabled and enabled,
we get the usage count but do not put it. This causes
a mismatch and DWC3 LPM does not work anymore. Fix
this issue by moving put_usage_count to ffs_func_set_alt.
Change-Id: Ic85db09820d2c18b67bd463fe27e2c1ef41e8c74
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
