Lines Matching refs:error
178 int error; in snd_card_als100_probe() local
184 error = snd_card_new(&pcard->card->dev, in snd_card_als100_probe()
187 if (error < 0) in snd_card_als100_probe()
188 return error; in snd_card_als100_probe()
191 if ((error = snd_card_als100_pnp(dev, acard, pcard, pid))) { in snd_card_als100_probe()
193 return error; in snd_card_als100_probe()
199 error = snd_sbdsp_create(card, port[dev], irq[dev], in snd_card_als100_probe()
204 if (error < 0) { in snd_card_als100_probe()
206 return error; in snd_card_als100_probe()
225 if ((error = snd_sb16dsp_pcm(chip, 0)) < 0) { in snd_card_als100_probe()
227 return error; in snd_card_als100_probe()
230 if ((error = snd_sbmixer_new(chip)) < 0) { in snd_card_als100_probe()
232 return error; in snd_card_als100_probe()
259 if ((error = snd_opl3_timer_new(opl3, 0, 1)) < 0) { in snd_card_als100_probe()
261 return error; in snd_card_als100_probe()
263 if ((error = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0) { in snd_card_als100_probe()
265 return error; in snd_card_als100_probe()
270 if ((error = snd_card_register(card)) < 0) { in snd_card_als100_probe()
272 return error; in snd_card_als100_probe()