diff options
| author | Ruslan Bilovol <[email protected]> | 2021-03-01 13:49:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 12:54:56 +0100 |
| commit | 254cb1e0d78cfa2c189171cacb88fc85d915bc84 (patch) | |
| tree | 51f5e808b0f92891a6d19da6f40da0241cfca125 /tools/perf/scripts/python | |
| parent | a59c68a6a3d1b18e2494f526eb19893a34fa6ec6 (diff) | |
usb: gadget: f_uac1: disable IN/OUT ep if unused
User can configure f_uac1 function via p_chmask/c_chmask
whether uac1 shall support playback and/or capture,
but it has only effect on the created ALSA device,
but not on the USB descriptor.
This patch adds playback/capture descriptors
dependent on that parameter. It is similar to
the same conversion done earlier for f_uac2
Signed-off-by: Ruslan Bilovol <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions