usb: gadget: function: sync f_uac1 ac header baInterfaceNr
authorliangshengjun <liangshengjun@hisilicon.com>
Mon, 24 Dec 2018 02:36:28 +0000 (02:36 +0000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 7 Feb 2019 11:14:51 +0000 (13:14 +0200)
commit44a9d1b9a6bb41b5dba3d6d345421385b0843e4d
treeff368f1d3632ecf388140fde67d268f7f0b84330
parent10209abe87f5ebfd482a00323f5236d6094d0865
usb: gadget: function: sync f_uac1 ac header baInterfaceNr

f_uac1 audio control header descriptor default set
baInterfaceNr[]={1,2}, but usb gadget make a configuration descriptor
with more interfaces combination, it can not confirm f_uac1 function
linked first. So always keep baInterfaceNr[]={1,2} is correct, and it
is necessary to sync baInterfaceNr[] with usb_interface_id() value.

Signed-off-by: Liang Shengjun <liangshengjun@hisilicon.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_uac1.c