summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/audio.c
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2009-12-09 22:21:12 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-23 11:34:19 -0800
commitd16f172622a7941c4fca09724ce16df5348af5fb (patch)
treecd219caef34ac53fc6ee1bd097951b166043f1d0 /drivers/usb/gadget/audio.c
parent465f8294eea1ea206e3a008e7bfe0e8fd53991fc (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>
Diffstat (limited to 'drivers/usb/gadget/audio.c')
0 files changed, 0 insertions, 0 deletions