Skip to contentSkip to conversation

usb: gadget: f_uac2: disable IN/OUT ep if unused

PATCH New Felipe Balbi 1 participant 1 message Jul 26, 2018 USB

lore
Share & tools
lore
#0 lore raw

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.

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