From: Cliff Cai Date: Thu, 10 Dec 2009 03:21:12 +0000 (-0500) Subject: USB: audio gadget: fix wTotalLength calculation X-Git-Tag: v2.6.33-rc2~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d16f172622a7941c4fca09724ce16df5348af5fb;p=pandora-kernel.git USB: audio gadget: fix wTotalLength calculation The wTotalLength should contain the sum of the interface and unit descriptor sizes per the Audio Device Class specification 1.0. Reported-by: Sergey Lapin Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed