commit | 0a7b1f8a70a59fd8215a937f77da20e003b9fc49 | [log] [tgz] |
---|---|---|
author | Robert Baldyga <r.baldyga@samsung.com> | Mon Feb 10 10:42:42 2014 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Tue Feb 18 10:53:01 2014 -0600 |
tree | 44b9cc188c036f0d12edbf25ada48bb8e47549dd | |
parent | a7ecf0544f0fc710ba6e2ff751d328a4190c4a1f [diff] |
usb: gadget: f_fs: fix setup request handling This patch fixes __ffs_ep0_queue_wait() function, which now returns number of bytes transferred in USB request or error code in case of failure. This is needed by ffs_ep0_read() function, when read data is copied to userspace. It also cleans up code by removing usused variable ep0req_status. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>