1. 21 8月, 2014 2 次提交
  2. 17 7月, 2014 2 次提交
  3. 15 5月, 2014 1 次提交
    • A
      usb: gadget: f_uac2: don't queue new requests when shutting down · 1ade5d7e
      Andrzej Pietrasiewicz 提交于
      In some circumstances when g_audio is being unloaded there happens
      an endless loop in udc driver. It has happend on a board with
      s3c-hsotg. If there are requests in endpoint's queue, they are completed
      in a loop. But completing them might cause appending new requests
      to the queue. This patch causes agdev_iso_complete() to return immediately
      if request's status is -ESHUTDOWN. If it does not return immediately,
      then although the current request is removed from the queue, a new one
      is appended to the queue, so the above mentioned loop cannot end.
      Signed-off-by: NAndrzej Pietrasiewicz <andrzej.p@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      1ade5d7e
  4. 14 5月, 2014 1 次提交
  5. 14 2月, 2014 1 次提交
  6. 10 6月, 2013 1 次提交
  7. 15 5月, 2013 1 次提交
  8. 22 1月, 2013 1 次提交
  9. 10 1月, 2013 1 次提交
  10. 22 11月, 2012 1 次提交
  11. 31 10月, 2012 6 次提交
  12. 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
  13. 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