Commit d833e268 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Jaroslav Kysela <perex@suse.cz>

DT019x driver
Added missing pnp_unregister_card_driver call
parent 20a62691
......@@ -322,8 +322,10 @@ static int __init alsa_card_dt019x_init(void)
cards += pnp_register_card_driver(&dt019x_pnpc_driver);
#ifdef MODULE
if (!cards)
if (!cards) {
pnp_unregister_card_driver(&dt019x_pnpc_driver);
snd_printk(KERN_ERR "no DT-019X / ALS-007 based soundcards found\n");
}
#endif
return cards ? 0 : -ENODEV;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment