summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function/Makefile
diff options
context:
space:
mode:
authorRuslan Bilovol <ruslan.bilovol@gmail.com>2017-06-18 16:23:52 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-06-19 09:22:46 +0300
commiteb9fecb9e69b0be8c267c55b0bb52a08e8fb6bee (patch)
tree5ea55227c274c14a377ee35edb458aa4a421e844 /drivers/usb/gadget/function/Makefile
parent7158b57a495635c04507d986117ae26b2eb5e4e5 (diff)
downloadlwn-eb9fecb9e69b0be8c267c55b0bb52a08e8fb6bee.tar.gz
lwn-eb9fecb9e69b0be8c267c55b0bb52a08e8fb6bee.zip
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 Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/function/Makefile')
-rw-r--r--drivers/usb/gadget/function/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/function/Makefile b/drivers/usb/gadget/function/Makefile
index cb8c225e8549..b29f2ae23357 100644
--- a/drivers/usb/gadget/function/Makefile
+++ b/drivers/usb/gadget/function/Makefile
@@ -32,6 +32,7 @@ usb_f_mass_storage-y := f_mass_storage.o storage_common.o
obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
usb_f_fs-y := f_fs.o
obj-$(CONFIG_USB_F_FS) += usb_f_fs.o
+obj-$(CONFIG_USB_U_AUDIO) += u_audio.o
usb_f_uac1-y := f_uac1.o u_uac1.o
obj-$(CONFIG_USB_F_UAC1) += usb_f_uac1.o
usb_f_uac2-y := f_uac2.o