usb: gadget: f_audio_source: Fixed USB Audio Class Interface Descriptor
authorAnson Jacob <ansonkuzhumbil@gmail.com>
Mon, 23 Jun 2014 11:14:01 +0000 (19:14 +0800)
committerBadhri Jagan Sridharan <Badhri@google.com>
Fri, 25 Jul 2014 20:14:35 +0000 (13:14 -0700)
commitdc0cf1216b3db4617610ecee67185de0dade9552
tree9e4ae7d1340e2b6effe43fc243f437420a97e05f
parent5f4a7e5e43293f27e0b5ff935b32ba303c89de59
usb: gadget: f_audio_source: Fixed USB Audio Class Interface Descriptor

Fixed Android Issue #56549.

When both Vendor Class and Audio Class are activated for AOA 2.0,
the baInterfaceNr of the AudioControl Interface Descriptor points
to wrong interface numbers. They should be pointing to
Audio Control Device and Audio Streaming interfaces.

Replaced baInterfaceNr with the correct value.

Change-Id: Iaa083f3d97c1f0fc9481bf87852b2b51278a6351
Signed-off-by: Anson Jacob <ansonkuzhumbil@gmail.com>
drivers/usb/gadget/f_audio_source.c