usb: gadget: adb: do not set error flag when dequeuing req
authorColin Cross <ccross@android.com>
Fri, 9 Mar 2012 01:57:51 +0000 (17:57 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:53 +0000 (13:51 -0800)
commit3daf0db436a9d96f5d3ac43f5e6d315178e3184a
treeaf47bcea6d4aa3b2d0f901a1355e35232d086150
parentfe7aa575bb73bef711cfa6779c6c631c8ee795b5
usb: gadget: adb: do not set error flag when dequeuing req

When an ep_out req is dequeued because of userspace freezing,
don't set the error flag.

Change-Id: I680f1a1059b8ac2244aaa069e7d42dc44abf98e9
Signed-off-by: Colin Cross <ccross@android.com>
drivers/usb/gadget/f_adb.c