1. 27 11月, 2008 1 次提交
    • 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
  2. 13 8月, 2008 1 次提交
  3. 01 2月, 2008 1 次提交
    • T
      [ALSA] Remove sound/driver.h · 9004acc7
      Takashi Iwai 提交于
      This header file exists only for some hacks to adapt alsa-driver
      tree.  It's useless for building in the kernel.  Let's move a few
      lines in it to sound/core.h and remove it.
      With this patch, sound/driver.h isn't removed but has just a single
      compile warning to include it.  This should be really killed in
      future.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      9004acc7
  4. 16 10月, 2007 2 次提交
  5. 09 5月, 2007 1 次提交
  6. 20 12月, 2006 1 次提交
  7. 23 9月, 2006 1 次提交
  8. 13 7月, 2006 1 次提交
  9. 03 7月, 2006 1 次提交
  10. 23 6月, 2006 1 次提交
  11. 28 4月, 2006 2 次提交
  12. 29 3月, 2006 1 次提交
  13. 22 3月, 2006 2 次提交
  14. 03 1月, 2006 1 次提交
  15. 11 11月, 2005 1 次提交
  16. 04 11月, 2005 1 次提交
  17. 12 9月, 2005 2 次提交
    • C
      [ALSA] set owner field in struct pci_driver · 3bcd4649
      Clemens Ladisch 提交于
      AD1889 driver,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver
      AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver
      ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver
      Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver
      RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver
      ALI5451 driver,au88x0 driver,CS46xx driver,EMU10K1/EMU10K2 driver
      HDA Intel driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
      MIXART driver,NM256 driver,RME HDSP driver,RME9652 driver
      Trident driver,Digigram VX222 driver,YMFPCI driver
      Set the module owner field in each driver's struct pci_driver to get
      the driver symlink in the sysfs device directory.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      3bcd4649
    • T
      [ALSA] Replace with kzalloc() - pci stuff · e560d8d8
      Takashi Iwai 提交于
      AD1889 driver,ATIIXP driver,ATIIXP-modem driver,AZT3328 driver
      BT87x driver,CMIPCI driver,CS4281 driver,ENS1370/1+ driver
      ES1938 driver,ES1968 driver,FM801 driver,Intel8x0 driver
      Intel8x0-modem driver,Maestro3 driver,SonicVibes driver,VIA82xx driver
      VIA82xx-modem driver,AC97 Codec,AK4531 codec,au88x0 driver
      CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver
      HDA generic driver,HDA Intel driver,ICE1712 driver,ICE1724 driver
      KORG1212 driver,MIXART driver,NM256 driver,Trident driver,YMFPCI driver
      Replace kcalloc(1,..) with kzalloc().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e560d8d8
  18. 28 7月, 2005 1 次提交
    • N
      [ALSA] sound/pci: fix-up sleeping paths · ef21ca24
      Nishanth Aravamudan 提交于
      ENS1370/1+ driver,ES1968 driver,Intel8x0 driver,VIA82xx driver
      VIA82xx-modem driver,AC97 Codec,ALI5451 driver,CS46xx driver
      MIXART driver,RME HDSP driver,Trident driver,YMFPCI driver
      Description: Fix-up sleeping in sound/pci. These changes fall under the
      following two categories:
      
              1) Replace schedule_timeout() with msleep() to guarantee the
              task delays as expected. This also involved replacing/removing
              custom sleep functions.
              2) Do not assume jiffies will only increment by one if you
              request a 1 jiffy sleep, i.e. use time_after/time_before in
              while loops.
      Signed-off-by: NNishanth Aravamudan <nacc@us.ibm.com>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      ef21ca24
  19. 29 5月, 2005 1 次提交
    • T
      [ALSA] Replace pci_module_init() with pci_register_driver() · 01d25d46
      Takashi Iwai 提交于
      Documentation,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver
      AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver
      ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver
      Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver
      RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver
      ALI5451 driver,au88x0 driver,CA0106 driver,CS46xx driver
      EMU10K1/EMU10K2 driver,HDA Intel driver,ICE1712 driver,ICE1724 driver
      KORG1212 driver,MIXART driver,NM256 driver,RME HDSP driver
      RME9652 driver,Trident driver,Digigram VX222 driver,YMFPCI driver
      Replace the obsolete pci_module_init() with pci_register_driver().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      01d25d46
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4