Lines Matching defs:err
9 #include <linux/err.h>
45 int err;
47 err = snd_card_new(&devptr->dev, index, id, THIS_MODULE, 0, &card);
48 if (err < 0)
49 return err;
51 err = snd_pmac_new(card, &chip);
52 if (err < 0)
62 err = snd_pmac_burgundy_init(chip);
63 if (err < 0)
71 err = snd_pmac_daca_init(chip);
72 if (err < 0)
82 err = snd_pmac_tumbler_init(chip);
83 if (err < 0)
85 err = snd_pmac_tumbler_post_init();
86 if (err < 0)
102 err = snd_pmac_awacs_init(chip);
103 if (err < 0)
108 err = -EINVAL;
112 err = snd_pmac_pcm_new(chip);
113 if (err < 0)
120 err = snd_card_register(card);
121 if (err < 0)
129 return err;
172 int err;
174 err = platform_driver_register(&snd_pmac_driver);
175 if (err < 0)
176 return err;