1. 20 10月, 2014 1 次提交
  2. 07 10月, 2014 1 次提交
  3. 24 9月, 2014 1 次提交
  4. 22 9月, 2014 1 次提交
  5. 08 9月, 2014 2 次提交
  6. 10 8月, 2014 1 次提交
  7. 06 8月, 2014 2 次提交
  8. 04 8月, 2014 2 次提交
  9. 26 6月, 2014 1 次提交
    • T
      ALSA: usb-audio: Fix races at disconnection and PCM closing · 92a586bd
      Takashi Iwai 提交于
      When a USB-audio device is disconnected while PCM is still running, we
      still see some race: the disconnect callback calls
      snd_usb_endpoint_free() that calls release_urbs() and then kfree()
      while a PCM stream would be closed at the same time and calls
      stop_endpoints() that leads to wait_clear_urbs().  That is, the EP
      object might be deallocated while a PCM stream is syncing with
      wait_clear_urbs() with the same EP.
      
      Basically calling multiple wait_clear_urbs() would work fine, also
      calling wait_clear_urbs() and release_urbs() would work, too, as
      wait_clear_urbs() just reads some fields in ep.  The problem is the
      succeeding kfree() in snd_pcm_endpoint_free().
      
      This patch moves out the EP deallocation into the later point, the
      destructor callback.  At this stage, all PCMs must have been already
      closed, so it's safe to free the objects.
      Reported-by: NAlan Stern <stern@rowland.harvard.edu>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      92a586bd
  10. 25 5月, 2014 2 次提交
  11. 03 5月, 2014 4 次提交
  12. 28 4月, 2014 1 次提交
  13. 10 4月, 2014 1 次提交
  14. 07 4月, 2014 1 次提交
  15. 05 3月, 2014 1 次提交
  16. 27 2月, 2014 1 次提交
  17. 26 2月, 2014 1 次提交
    • T
      ALSA: usb-audio: Use standard printk helpers · 0ba41d91
      Takashi Iwai 提交于
      Convert with dev_err() and co from snd_printk(), etc.
      As there are too deep indirections (e.g. ep->chip->dev->dev),
      a few new local macros, usb_audio_err() & co, are introduced.
      
      Also, the device numbers in some messages are dropped, as they are
      shown in the prefix automatically.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0ba41d91
  18. 17 2月, 2014 2 次提交
  19. 14 2月, 2014 1 次提交
  20. 12 2月, 2014 1 次提交
  21. 03 2月, 2014 2 次提交
  22. 14 1月, 2014 3 次提交
  23. 23 12月, 2013 1 次提交
  24. 20 12月, 2013 1 次提交
  25. 06 12月, 2013 1 次提交
  26. 27 11月, 2013 1 次提交
  27. 14 11月, 2013 1 次提交
  28. 12 11月, 2013 1 次提交
    • A
      ALSA: usb: Fix wrong mapping of RLC and RRC channels · 71373fdd
      Anssi Hannula 提交于
      According to USB Audio spec v2 bits 25 and 26 of bmChannelConfig are
      "Back Left of Center - BLC" and "Back Right of Center - BRC",
      respectively.
      
      They are currently assigned to ALSA channels BLC/BRC. However, the ALSA
      BLC/BRC are actually the rather nonsensical "bottom left center" and
      "bottom right center", so the channels will be assigned wrongly. The
      comments in the USB code are also similarly wrong, so this is not
      readily apparent without looking at the actual specification.
      
      Fix the channel mapping by mapping bits 25 and 26 to RLC (Rear Left
      Center) and RRC (Rear Right Center), respectively, instead.
      Signed-off-by: NAnssi Hannula <anssi.hannula@iki.fi>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      71373fdd
  29. 05 11月, 2013 1 次提交