1. 20 12月, 2008 3 次提交
  2. 19 12月, 2008 2 次提交
  3. 16 12月, 2008 2 次提交
  4. 11 12月, 2008 1 次提交
  5. 10 12月, 2008 2 次提交
  6. 04 12月, 2008 1 次提交
  7. 03 12月, 2008 1 次提交
  8. 02 12月, 2008 1 次提交
  9. 01 12月, 2008 4 次提交
  10. 28 11月, 2008 1 次提交
  11. 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
  12. 26 11月, 2008 1 次提交
    • T
      ALSA: pcsp - Fix starting the stream with HRTIMER_CB_IRQSAFE_UNLOCK · eea0579f
      Takashi Iwai 提交于
      With the callback mode HRTIMER_CB_IRQSAFE_UNLOCK, the start of the
      stream with zero delay doesn't work.  Since IRQSAFE mode is removed,
      we have to change the pcsp start-up code.
      
      This patch splits the callback function to two parts, the triggering
      of the port and the calculation of the expire time, and the update of
      the ALSA PCM core.  The first part is called both from the trigger-start
      and the hrtimer callback while the latter is handled only in the
      hrtimer callback.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      eea0579f
  13. 25 11月, 2008 5 次提交
  14. 21 11月, 2008 4 次提交
  15. 18 11月, 2008 4 次提交
  16. 16 11月, 2008 3 次提交
  17. 14 11月, 2008 2 次提交
  18. 13 11月, 2008 1 次提交