usb: gadget: f_uac2: disable IN/OUT ep if unused
PATCH 6/7 usb: gadget: f_uac2: disable IN/OUT ep if unused
Quoted 9 lines · Eugeniu Rosca
From: Andreas Pape <[email protected]>
Via p_chmask/c_chmask the user can define whether uac2 shall support playback and/or capture. This has only effect on the created ALSA device, but not on the USB descriptor. This patch adds playback/capture descriptors dependent on that parameter.
Signed-off-by Andreas Pape <[email protected]>Signed-off-by Eugeniu Rosca <[email protected]>
unfortunately doesn't apply:
checking file drivers/usb/gadget/function/f_uac2.c Hunk #13 FAILED at 678.
1 out of 14 hunks FAILED
Please rebase on testing/next after a couple hours