1. 21 7月, 2008 2 次提交
  2. 02 10月, 2008 3 次提交
  3. 30 9月, 2008 2 次提交
  4. 29 9月, 2008 2 次提交
  5. 25 9月, 2008 2 次提交
    • T
      ALSA: remove unneeded power_mutex lock in snd_pcm_drop · 24e8fc49
      Takashi Iwai 提交于
      The power_mutex lock in snd_pcm_drop may cause a possible deadlock
      chain, and above all, it's unneeded.  Let's get rid of it.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      24e8fc49
    • T
      ALSA: fix locking in snd_pcm_open*() and snd_rawmidi_open*() · 399ccdc1
      Takashi Iwai 提交于
      The PCM and rawmidi open callbacks have a lock against card->controls_list
      but it takes a wrong one, card->controls_rwsem, instead of a right one
      card->ctl_files_rwlock.  This patch fixes them.
      
      This change also fixes automatically the potential deadlocks due to
      mm->mmap_sem in munmap and copy_from/to_user, reported by Sitsofe
      Wheeler:
      
        A: snd_ctl_elem_user_tlv(): card->controls_rwsem => mm->mmap_sem
        B: snd_pcm_open(): card->open_mutex => card->controls_rwsem
        C: munmap: mm->mmap_sem => snd_pcm_release(): card->open_mutex
      
      The patch breaks the chain.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      399ccdc1
  6. 22 9月, 2008 1 次提交
  7. 06 9月, 2008 1 次提交
  8. 02 9月, 2008 2 次提交
  9. 01 9月, 2008 2 次提交
  10. 29 8月, 2008 1 次提交
    • C
      ALSA: oxygen: fix distorted output on AK4396-based cards · df91bc23
      Clemens Ladisch 提交于
      When changing the sample rate, the CMI8788's master clock output becomes
      unstable for a short time.  The AK4396 needs the master clock to do SPI
      writes, so writing to an AK4396 control register directly after a sample
      rate change will garble the value.  In our case, this leads to the DACs
      being misconfigured to I2S sample format, which results in a wrong
      output level and horrible distortions on samples louder than -6 dB.
      
      To fix this, we need to wait until the new master clock signal has
      become stable before doing SPI writes.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      df91bc23
  11. 27 8月, 2008 1 次提交
  12. 26 8月, 2008 3 次提交
  13. 25 8月, 2008 2 次提交
  14. 24 8月, 2008 1 次提交
  15. 22 8月, 2008 1 次提交
  16. 21 8月, 2008 1 次提交
  17. 17 8月, 2008 1 次提交
  18. 15 8月, 2008 2 次提交
  19. 14 8月, 2008 1 次提交
  20. 12 8月, 2008 4 次提交
  21. 11 8月, 2008 1 次提交
  22. 07 8月, 2008 4 次提交