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)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Dec 2013 04:44:06 +0000 (22:44 -0600)
commit7fa6803483ed215f9c73780194d49719a060bf1c
treeca7774b3bd43507aaf7b4f1c2b533582c2e8a079
parent0b2d2bbade59ab2067f326d6dbc2628bee227fd5
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