From: Felipe Balbi Date: Mon, 29 Aug 2011 08:54:08 +0000 (+0300) Subject: usb: gadget: audio: queue wLength-sized requests X-Git-Tag: v3.2-rc1~183^2~148^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c5881d1625d844cdfcc027a970f0d034b982ba5;p=pandora-kernel.git usb: gadget: audio: queue wLength-sized requests On Audio class, the wLength field of the Setup packet, contains the data payload size of the following Data phase. Instead of harcoding values, use wLength. This also fixes a bug where Gadget driver had to receive 3 bytes, but it was queueing a ZLP. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed