1. 24 4月, 2008 7 次提交
  2. 22 4月, 2008 1 次提交
  3. 19 4月, 2008 4 次提交
  4. 10 4月, 2008 1 次提交
  5. 09 4月, 2008 1 次提交
    • A
      es1968: fix sleep-while-holding-lock bug · 4b47c971
      Arjan van de Ven 提交于
      snd_es1968_ac97_read() calls snd_es1968_ac97_wait() first outside a locked
      area, and later, while holding a lock.
      
      snd_es1968_ac97_wait() has a polling loop with a cond_resched() inside it..
      which sleeps, so the second call is invalid.
      
      This patch adds a version of the wait function that just pure polls.  While
      this is not very elegant in principle, it's very likely the easiest thing to
      do here, we already checked if the chip was ready (while yielding) just
      before, so it is very unlikely to take a long time here.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4b47c971
  6. 31 3月, 2008 1 次提交
  7. 24 3月, 2008 1 次提交
  8. 11 3月, 2008 1 次提交
  9. 29 2月, 2008 15 次提交
  10. 23 2月, 2008 8 次提交