1. 02 Oct, 2008 1 commit
  2. 30 Sep, 2008 2 commits
  3. 29 Sep, 2008 2 commits
  4. 25 Sep, 2008 2 commits
    • Takashi Iwai's avatar
      ALSA: remove unneeded power_mutex lock in snd_pcm_drop · 24e8fc49
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      24e8fc49
    • Takashi Iwai's avatar
      ALSA: fix locking in snd_pcm_open*() and snd_rawmidi_open*() · 399ccdc1
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      399ccdc1
  5. 23 Sep, 2008 1 commit
  6. 22 Sep, 2008 1 commit
  7. 06 Sep, 2008 1 commit
  8. 02 Sep, 2008 2 commits
  9. 01 Sep, 2008 2 commits
  10. 29 Aug, 2008 1 commit
    • Clemens Ladisch's avatar
      ALSA: oxygen: fix distorted output on AK4396-based cards · df91bc23
      Clemens Ladisch authored
      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: default avatarClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      df91bc23
  11. 27 Aug, 2008 1 commit
  12. 26 Aug, 2008 4 commits
  13. 25 Aug, 2008 20 commits