From: Robert Baldyga Date: Mon, 10 Feb 2014 09:42:42 +0000 (+0100) Subject: usb: gadget: f_fs: fix setup request handling X-Git-Tag: v3.15-rc1~137^2~25^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a7b1f8a70a59fd8215a937f77da20e003b9fc49;p=pandora-kernel.git 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 Acked-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed