gadgetfs: Fixed bug in ep_aio_read_retry.
authorSarah Bailey <saharabeara@gmail.com>
Fri, 23 Feb 2007 06:36:21 +0000 (22:36 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 23:03:46 +0000 (15:03 -0800)
commit50f97a1f829d26e01ae8bb33cd1384cf0a5e046f
treeeee3da686667a2e532281622ec85d0eaacbcfbe2
parent4ef2e23f03c597e2073b649e7287b840f8fb9274
gadgetfs: Fixed bug in ep_aio_read_retry.

I don't think the current code works with multiple iovecs.
The original would just copy the first part of priv->buf
over and over into multiple iovecs.

Signed-off-by: Sarah Bailey <saharabeara@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/inode.c