diff options
author | Andreas Pape <apape@de.adit-jv.com> | 2018-06-21 17:22:51 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-10-02 10:45:36 +0300 |
commit | 3fa4eaa6c08206b5fa6a8ba49b891d6aab243f52 (patch) | |
tree | 840a08e4ccc2e830622d3ccbbc3985757d214a3c /drivers/fpga/machxo2-spi.c | |
parent | 0a55187a1ec8c03d0619e7ce41d10fdc39cff036 (diff) | |
download | linux-3fa4eaa6c08206b5fa6a8ba49b891d6aab243f52.tar.bz2 |
usb: gadget: f_uac2: disable IN/OUT ep if unused
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 <apape@de.adit-jv.com>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions