diff options
| author | Ruslan Bilovol <ruslan.bilovol@gmail.com> | 2017-06-18 16:23:52 +0300 |
|---|---|---|
| committer | Ajay Agarwal <ajaya@codeaurora.org> | 2019-01-09 10:16:56 +0530 |
| commit | d97c071258aef975093007ee3031a2556525460c (patch) | |
| tree | d7cab6b46b6bfe5c778319b75abd0cee059cd455 /drivers/usb/gadget/function/f_uac1.c | |
| parent | 3ac994fa128c0a79df70aa9cb79d29ac02e8ec59 (diff) | |
usb: gadget: f_uac2: split out audio core
Abstract the peripheral side ALSA sound card code from
the f_uac2 function into a component that can be called
by various functions, so the various flavors can be split
apart and selectively reused.
Visible changes:
- add uac_params structure to pass audio paramteres for
g_audio_setup
- make ALSA sound card's name configurable
- add [in/out]_ep_maxpsize
- allocate snd_uac_chip structure during g_audio_setup
- add u_audio_[start/stop]_[capture/playback] functions
Change-Id: I412ed3afca008300800ee61a774e1f23900e8ed6
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Git-commit: eb9fecb9e69b0be8c267c55b0bb52a08e8fb6bee
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'drivers/usb/gadget/function/f_uac1.c')
0 files changed, 0 insertions, 0 deletions
