usb: gadget: f_fs: remove loop from I/O function
authorMichal Nazarewicz <mina86@mina86.com>
Mon, 9 Dec 2013 23:55:36 +0000 (15:55 -0800)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:26:40 +0000 (07:26 +0200)
commit3c947f607e4b8720f0b5ab64668d1bb3ed7a281d
tree6fe35e7caca142f3571b53abb95692cb89a36121
parent95dbdec870fcf9933916f67710b565e6da82b797
usb: gadget: f_fs: remove loop from I/O function

When endpoint changes (due to it being disabled or alt setting changed),
mimic the action as if the change happened after the request has been
queued, instead of retrying with the new endpoint.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Cc: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_fs.c