1. 11 12月, 2008 1 次提交
  2. 10 12月, 2008 1 次提交
  3. 03 12月, 2008 1 次提交
  4. 02 12月, 2008 1 次提交
  5. 01 12月, 2008 2 次提交
  6. 28 11月, 2008 1 次提交
  7. 27 11月, 2008 2 次提交
    • J
      ALSA: sound/pci/mixart/mixart.c: Add missing snd_card_free · 73f6a12e
      Julia Lawall 提交于
      The function snd_mixart_create creates a link between mgr and card that
      allows snd_mixart_free to free card as well.  But if snd_mixart_create
      fails, then the link has not been created and card has to be freed explicitly.
      
      The semantic match that finds the problem is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @r exists@
      local idexpression x;
      statement S,S1;
      position p1,p2,p3;
      expression E,E1;
      type T,T1;
      expression *ptr != NULL;
      @@
      
      (
       if ((x@p1 = snd_card_new(...)) == NULL) S
      |
       x@p1 = snd_card_new(...);
      )
       ... when != snd_card_free(...,(T)x,...)
           when != if (...) { <+... snd_card_free(...,(T)x,...) ...+> }
           when != true x == NULL || ...
           when != x = E
           when != E = (T)x
           when any
      (
       if (x == NULL || ...) S1
      |
       if@p2 (...) {
        ... when != snd_card_free(...,(T1)x,...)
            when != if (...) { <+... snd_card_free(...,(T1)x,...) ...+> }
            when != x = E1
            when != E1 = (T1)x
      (
        return \(0\|<+...x...+>\|ptr\);
      |
        return@p3 ...;
      )
      }
      )
      
      @ script:python @
      p1 << r.p1;
      p3 << r.p3;
      @@
      
      print "* file: %s snd_card_new: %s return: %s" % (p1[0].file,p1[0].line,p3[0].line)
      
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      73f6a12e
    • D
      ALSA: snd-usb-caiaq: clean up the control adding code · 12666f05
      Daniel Mack 提交于
      snd-usb-caiaq: clean up the control adding code by moving dulpicate code
      to a function.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      12666f05
  8. 18 11月, 2008 1 次提交
  9. 14 11月, 2008 1 次提交
  10. 12 11月, 2008 2 次提交
  11. 07 11月, 2008 4 次提交
  12. 06 11月, 2008 1 次提交
  13. 03 11月, 2008 5 次提交
  14. 01 11月, 2008 1 次提交
  15. 30 10月, 2008 3 次提交
  16. 29 10月, 2008 3 次提交
  17. 27 10月, 2008 2 次提交
  18. 24 10月, 2008 2 次提交
  19. 22 10月, 2008 2 次提交
  20. 21 10月, 2008 1 次提交
  21. 20 10月, 2008 3 次提交
    • T
      ALSA: ice1724 - Fix TX IRQ lockup · 1083206f
      Takashi Iwai 提交于
      MPU TX causes IRQ floods on VT172x devices mysteriously.
      Disable TX IRQ if the IRQ flood is detected.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1083206f
    • T
      ALSA: Enable SPDIF output on ALC655 · c872e8ca
      Takashi Iwai 提交于
      Some hardwares with ALC655 codec don't indicate the proper ext id bit
      for SPDIF output although it supports.  Force to enable the bit.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c872e8ca
    • T
      ALSA: pcsp - Fix locking messes in snd-pcsp · 96c7d478
      Takashi Iwai 提交于
      snd-pcsp driver takes chip->substream_lock together with PCM substream
      lock.  These are even mixed up with hrtimer's lock, resulting in messy
      lock depencies.  Right now, snd-pcsp driver resolves the deadlock by
      using HRTIMER_CB_SOFTIRQ.  However, this isn't nice for a really fast
      path like bit-flipping.
      
      This patch introduces a tasklet for PCM period handling so that the
      hrtimer callback can be handled fast.  This also reduce the use of
      chip->substream_lock to avoid deadlocks.  It's still used in pointer
      callback, but even this could be removed with a proper barrier.
      
      Another good solution is to introduce async trigger callback.  But,
      this will involve with a major rewrite of the PCM core code, so I
      take first this easy fix.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      96c7d478