summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.c
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2018-01-12 18:43:32 +0000
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-02-12 10:48:59 +0200
commit8813a59ed892305b5ac1b5b901740b1ad4b5fefa (patch)
treea2ba668808f1c496c282be1734d6158a4554604e /drivers/usb/dwc3/core.c
parentf035d139ffece7b6a7b8bfb17bd0ba715ee57a04 (diff)
usb: gadget: f_uac2: fix bFirstInterface in composite gadget
If there are multiple functions associated with a configuration, then the UAC2 interfaces may not start at zero. Set the correct first interface number in the association descriptor so that the audio interfaces are enumerated correctly in this case. Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
0 files changed, 0 insertions, 0 deletions