1. 31 10月, 2012 4 次提交
  2. 10 9月, 2012 1 次提交
    • S
      usb: gadget: remove __devexit in f_uac2 · 1e1a27c3
      Sebastian Andrzej Siewior 提交于
      avoids the following section missmatch
      |WARNING: drivers/usb/gadget/g_audio.o(.init.text+0x2e7): Section
      |mismatch in reference from the function afunc_bind() to the function
      |.devexit.text:snd_uac2_remove()
      |The function __init afunc_bind() references
      |a function __devexit snd_uac2_remove().
      |This is often seen when error handling in the init function
      |uses functionality in the exit path.
      |The fix is often to remove the __devexit annotation of
      |snd_uac2_remove() so it may be used outside an exit section.
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      1e1a27c3
  3. 15 2月, 2012 1 次提交
    • J
      usb: gadget: Add Audio Class 2.0 Driver · 132fcb46
      Jassi Brar 提交于
      This is a flexible USB Audio Class 2.0 compliant gadget driver that
      implements a simple topology with a virtual sound card exposed at
      the function side.
      
      The driver doesn't expect any real audio codec to be present on the
      function - the audio streams are simply sinked to and sourced from a
      virtual ALSA sound card created. The user-space application may choose
      to do whatever it wants with the data received from the USB Host and
      choose to provide whatever it wants as audio data to the USB Host.
      
      Capture(USB-Out) and Playback(USB-In) can be run at independent
      configurations specified via module parameters while loading the driver.
      
      Make this new version as the default selection by a new Kconfig choice.
      Signed-off-by: NYadi Brar <yadi.brar01@gmail.com>
      Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      132fcb46