diff options
author | Bryan Wu <cooloney@kernel.org> | 2009-06-03 09:17:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 00:44:47 -0400 |
commit | c6994e6f067cf0fc4c6cca3d164018b1150916f8 (patch) | |
tree | d971c529cbd4684e5c1c5fcb67f3f09d1cca4295 /drivers/usb/gadget/Makefile | |
parent | c47d7b09891abb4f8b222317c89c7469bed8db3a (diff) |
USB: gadget: add USB Audio Gadget driver
Funtions added:
- setup all the USB audio class device descriptors
- handle class specific setup request
- receive data from USB host by ISO transfer
- play audio data by ALSA sound card
- open and setup playback PCM interface
- set default playback PCM parameters
- provide playback functions for USB audio driver
- provide PCM parameters set/get functions
Test on:
- Host: Ubuntu 8.10, kernel 2.6.27
- Gadget: EZKIT-BF548 with ASoC AD1980 codec
Todo:
- add real Mute control code
- add real Volume control code
- maybe find another way to replace dynamic buffer handling
with static buffer allocation
- test on Windows system
- provide control interface to handle mute/volume control
- provide capture interface in the future
- test on BF527, other USB device controler and other audio codec
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/Makefile')
-rw-r--r-- | drivers/usb/gadget/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index 9be2fbd6f5c2..fc9a7dc01047 100644 --- a/drivers/usb/gadget/Makefile +++ b/drivers/usb/gadget/Makefile | |||
@@ -31,6 +31,7 @@ obj-$(CONFIG_USB_S3C_HSOTG) += s3c-hsotg.o | |||
31 | # USB gadget drivers | 31 | # USB gadget drivers |
32 | # | 32 | # |
33 | g_zero-objs := zero.o | 33 | g_zero-objs := zero.o |
34 | g_audio-objs := audio.o | ||
34 | g_ether-objs := ether.o | 35 | g_ether-objs := ether.o |
35 | g_serial-objs := serial.o | 36 | g_serial-objs := serial.o |
36 | g_midi-objs := gmidi.o | 37 | g_midi-objs := gmidi.o |
@@ -40,6 +41,7 @@ g_printer-objs := printer.o | |||
40 | g_cdc-objs := cdc2.o | 41 | g_cdc-objs := cdc2.o |
41 | 42 | ||
42 | obj-$(CONFIG_USB_ZERO) += g_zero.o | 43 | obj-$(CONFIG_USB_ZERO) += g_zero.o |
44 | obj-$(CONFIG_USB_AUDIO) += g_audio.o | ||
43 | obj-$(CONFIG_USB_ETH) += g_ether.o | 45 | obj-$(CONFIG_USB_ETH) += g_ether.o |
44 | obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o | 46 | obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o |
45 | obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o | 47 | obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o |