summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2017-02-17 17:00:38 -0800
committerHemant Kumar <hemantk@codeaurora.org>2017-02-24 17:46:39 -0800
commit82f29356165b6a584441fb3c442efed19784ce83 (patch)
treec6317e784aab145071fe8d76ac537409e09f05d4 /net/unix/af_unix.c
parentf44d9e364a517b521ea9081af73e85e78289c0dd (diff)
usb: gadget: f_mass_storage: Allow USB LPM upon ep disable
Upon cable disconnect, there is a possibility of USB LPM before file-storage thread run to completion. This causes ep dequeue to fail and results into thread to block for ever. Prevent this situation by incrementing power usage count on gadget parent upon ep enable and decrement it upon ep disable and allow USB LPM after that. Change-Id: Ic3633320de6ebef912bdaeac305b3dd0df3eb8e0 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions