1. 29 Sep, 2008 1 commit
    • Timur Tabi's avatar
      ALSA: make the CS4270 driver a new-style I2C driver · ec2cd95f
      Timur Tabi authored
      Update the CS4270 ALSA device driver to use the new-style I2C interface.
      Starting with the 2.6.27 PowerPC kernel, I2C devices that have entries in the
      device trees can no longer be probed by old-style I2C drivers.  The device
      tree for Freescale MPC8610 HPCD has included an entry for the CS4270 since
      2.6.25, but that entry was previously ignored by the PowerPC I2C subsystem.
      Since that's no longer the case, the best solution is to update the CS4270
      driver to a new-style interface, rather than try to revert the behavior of
      new PowerPC I2C subsystem.
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ec2cd95f
  2. 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
  3. 23 Sep, 2008 1 commit
  4. 22 Sep, 2008 1 commit
  5. 06 Sep, 2008 1 commit
  6. 02 Sep, 2008 2 commits
  7. 01 Sep, 2008 2 commits
  8. 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
  9. 27 Aug, 2008 1 commit
  10. 26 Aug, 2008 4 commits
  11. 25 Aug, 2008 24 commits