commit | d16f172622a7941c4fca09724ce16df5348af5fb | [log] [tgz] |
---|---|---|
author | Cliff Cai <cliff.cai@analog.com> | Wed Dec 09 22:21:12 2009 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Dec 23 11:34:19 2009 -0800 |
tree | cd219caef34ac53fc6ee1bd097951b166043f1d0 | |
parent | 465f8294eea1ea206e3a008e7bfe0e8fd53991fc [diff] |
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 <slapin@ossfans.org> Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>