Title: [5874] trunk/drivers/usb/gadget: Task [#4212]: add Kconfig and Makefile option for USB Audio Gadget driver
Revision
5874
Author
cooloney
Date
2008-12-17 22:06:20 -0600 (Wed, 17 Dec 2008)

Log Message

Task [#4212]: add Kconfig and Makefile option for USB Audio Gadget driver

Modified Paths

Diff

Modified: trunk/drivers/usb/gadget/Kconfig (5873 => 5874)


--- trunk/drivers/usb/gadget/Kconfig	2008-12-18 03:31:52 UTC (rev 5873)
+++ trunk/drivers/usb/gadget/Kconfig	2008-12-18 04:06:20 UTC (rev 5874)
@@ -545,6 +545,20 @@
 	  the "B-Peripheral" role, that device will use HNP to let this
 	  one serve as the USB host instead (in the "B-Host" role).
 
+config USB_AUDIO
+	tristate "Audio Gadget (EXPERIMENTAL)"
+	depends on SND
+	help
+	  Gadget Audio is compatible with USB Audio Class specification 1.0.
+	  It will include at least one AudioControl interface, zero or more
+	  AudioStream interface and zero or more MIDIStream interface.
+
+	  Gadget Audio will use on-board ALSA (CONFIG_SND) audio card to
+	  playback or capture audio stream.
+
+	  Say "y" to link the driver statically, or "m" to build a
+	  dynamically linked module called "g_audio".
+
 config USB_ETH
 	tristate "Ethernet Gadget (with CDC Ethernet support)"
 	depends on NET

Modified: trunk/drivers/usb/gadget/Makefile (5873 => 5874)


--- trunk/drivers/usb/gadget/Makefile	2008-12-18 03:31:52 UTC (rev 5873)
+++ trunk/drivers/usb/gadget/Makefile	2008-12-18 04:06:20 UTC (rev 5874)
@@ -25,6 +25,7 @@
 # USB gadget drivers
 #
 g_zero-objs			:= zero.o
+g_audio-objs			:= audio.o
 g_ether-objs			:= ether.o
 g_serial-objs			:= serial.o
 g_midi-objs			:= gmidi.o
@@ -34,6 +35,7 @@
 g_cdc-objs			:= cdc2.o
 
 obj-$(CONFIG_USB_ZERO)		+= g_zero.o
+obj-$(CONFIG_USB_AUDIO)		+= g_audio.o
 obj-$(CONFIG_USB_ETH)		+= g_ether.o
 obj-$(CONFIG_USB_GADGETFS)	+= gadgetfs.o
 obj-$(CONFIG_USB_FILE_STORAGE)	+= g_file_storage.o
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to