usb: gadget: add audio dependencies to USB_G_ANDROID
authorGreg Hackmann <ghackmann@google.com>
Thu, 30 Apr 2015 18:02:44 +0000 (11:02 -0700)
committerGreg Hackmann <ghackmann@google.com>
Thu, 30 Apr 2015 18:10:28 +0000 (11:10 -0700)
Since the Android gadget is a superset of the audio and MIDI gadgets, it
needs to take on their dependencies too

Change-Id: Ib7444962dcdb197e8b7ad66f7a41f7bc40879d2c
Signed-off-by: Greg Hackmann <ghackmann@google.com>
drivers/usb/gadget/Kconfig

index 67409fda70db2d2d2c2e17ce1e898f4b6e630467..9de2eb28085e3cac6ab385777625ef5e0cd0c4ac 100644 (file)
@@ -820,6 +820,9 @@ config USB_G_PRINTER
 
 config USB_G_ANDROID
        boolean "Android Composite Gadget"
+       depends on SND
+       select SND_PCM
+       select SND_RAWMIDI
        select USB_F_ACM
        select USB_LIBCOMPOSITE
        select USB_U_SERIAL