aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa
diff options
context:
space:
mode:
authorBryan Wu <cooloney@kernel.org>2009-01-08 00:21:19 +0800
committerGreg Kroah-Hartman <gregkh@kvm.kroah.org>2009-01-27 16:15:35 -0800
commit08889517b3713926169d79d99782192e86acdc67 (patch)
tree8d5a6641ef9e96fa100d08bf67603989cf90e00c /arch/xtensa
parentdd4dff8b035f6dda69ece98e20d4c2d76b9f97d1 (diff)
USB: composite: Fix bug: low byte of w_index is the usb interface number not the whole 2 bytes of w_index
In some usb gadget driver, for example usb audio class device, the high byte of w_index is the entity id and low byte is the interface number. If we use the 2 bytes of w_index as the array number, we will get a wrong pointer or NULL pointer. This patch fixes this issue. Signed-off-by: Bryan Wu <cooloney@kernel.org> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions