1. 16 Jun, 2009 4 commits
  2. 15 Jun, 2009 2 commits
    • Takashi Iwai's avatar
      ALSA: ctxfi - Fix deadlock with xfi-timer · 8dca4197
      Takashi Iwai authored
      The PCM x-fi native update routine can cause deadlocks when the
      trigger(START) is called while the stream is running.
      
      This patch fixes the deadlock by just postponing the pcm period update
      to the next possible wake-up.  Also it adds the flip of ti->running
      flag (just to be sure as now).
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      8dca4197
    • Takashi Iwai's avatar
      ALSA: intel8x0 - Fix PCM position craziness · f708eb1d
      Takashi Iwai authored
      The PCM pointer callback sometimes returns invalid positions and this
      screws up the hw_ptr updater in PCM core.  Especially since now the
      jiffies check is optional with xrun_debug, the invalid position is
      handled as is, and causes serious sound skips, etc.
      
      This patch simplifies the position-fix strategy in intel8x0 to be more
      robust:
      - just falls back to the last position if bogus position is detected
      - another sanity check for the backward move of the position due to
        a race of register update and the base-index update
      
      This patch is applicable also for 2.6.30.
      Tested-by: default avatarDavid Miller <davem@davemloft.net>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f708eb1d
  3. 14 Jun, 2009 2 commits
  4. 13 Jun, 2009 3 commits
    • Mark Brown's avatar
      ASoC: Revert duplicated code in SSM2602 driver · 5ba73683
      Mark Brown authored
      The Blackfin submission was done as a patch against a different tree
      and contained a duplicate hunk which will cause us to loose track of the
      substream pointers when shutting down.  Remove one of the duplicated
      hunks.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      5ba73683
    • Takashi Iwai's avatar
      ALSA: hda - Add quirk for Acer Aspire 6935G · e46b0c8c
      Takashi Iwai authored
      Added model=acer-aspire-8930g for Acer Aspire 6935G (1025:0146).
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e46b0c8c
    • Takashi Iwai's avatar
      ALSA: ctxfi - Replace atc lock to mutex · 635c265f
      Takashi Iwai authored
      The spinlock in atc can cause a sleep in lock:
      
      Kernel failure message 1:
      BUG: sleeping function called from invalid context at mm/slub.c:1599
      in_atomic(): 0, irqs_disabled(): 1, pid: 2537, name: gstreamer-prope
      Pid: 2537, comm: gstreamer-prope Tainted: P
      2.6.29.4-167.fc11.x86_64 #1
      Call Trace:
        [<ffffffff8103ff0f>] __might_sleep+0x10b/0x110
        [<ffffffff810cd734>] __kmalloc+0x73/0x130
        [<ffffffffa0b4b142>] ? daio_rsc_init+0xaa/0x125 [snd_ctxfi]
        [<ffffffffa0b4b212>] dao_rsc_init+0x55/0x1c0 [snd_ctxfi]
        [<ffffffffa0b4b3d2>] dao_rsc_reinit+0x55/0x5d [snd_ctxfi]
        [<ffffffff813abd6c>] ? _spin_lock_irqsave+0x32/0x3b
        [<ffffffffa0b454fe>] atc_spdif_out_passthru+0x92/0x136 [snd_ctxfi]
        ...
      
      Since the lock path is no critical path, it can be gracefully
      replaced with a mutex.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      635c265f
  5. 12 Jun, 2009 8 commits
  6. 11 Jun, 2009 3 commits
  7. 10 Jun, 2009 18 commits