1. 01 Feb, 2010 3 commits
  2. 27 Jan, 2010 1 commit
    • Jaroslav Kysela's avatar
      ALSA: pcm_native - fix runtime->boundary calculation · 7910b4a1
      Jaroslav Kysela authored
      The code in pcm_lib updating runtime->hw_ptr_interrupt expects
      that runtime->boundary is divisible with runtime->period_size.
      Thanks are going to Clemens Ladisch for the notice.
      
      Fix the runtime->boundary calculation using buffer_size * period_size
      as base and find a least common multiple for 32bit platforms when
      the expression might overflow.
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      7910b4a1
  3. 26 Jan, 2010 3 commits
    • Takashi Iwai's avatar
      d0d2c38e
    • Jaroslav Kysela's avatar
      ALSA: pcm_lib - return back hw_ptr_interrupt · e7636925
      Jaroslav Kysela authored
      Clemens Ladisch noted for hw_ptr_removal in "cleanup & merge hw_ptr
      update functions" commit:
      
      "It is possible for the status/delay ioctls to be called when the sound
      card's pointer register alreay shows a position at the beginning of the
      new period, but immediately before the interrupt is actually executed.
      (This happens regularly on a SMP machine with mplayer.)  When that
      happens, the code thinks that the position must be at least one period
      ahead of the current position and drops an entire buffer of data."
      
      Return back the hw_ptr_interrupt variable. The last interrupt pointer
      is always computed from the latest hw_ptr instead of tracking it
      separately (in this case all hw_ptr checks and modifications might
      influence also hw_ptr_interrupt and it is difficult to keep it
      consistent).
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      e7636925
    • Florian Zumbiehl's avatar
      ALSA: cs46xx: Fix cpu idling with resume · cf944ee5
      Florian Zumbiehl authored
      Make sure that capture DMA doesn't stay enabled after system resume
      as that potentially prevents the processor from entering deep sleep
      states.
      Signed-off-by: default avatarFlorian Zumbiehl <florz@florz.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      cf944ee5
  4. 21 Jan, 2010 4 commits
  5. 18 Jan, 2010 5 commits
  6. 14 Jan, 2010 2 commits
  7. 13 Jan, 2010 2 commits
  8. 12 Jan, 2010 2 commits
  9. 08 Jan, 2010 6 commits
  10. 07 Jan, 2010 4 commits
  11. 28 Dec, 2009 7 commits
  12. 27 Dec, 2009 1 commit