Skip to contentSkip to conversation

snd_opl3sa2: add missing pnp_unregister_driver() calls

PATCH In review Daniel Ritz 2 participants 2 messages Sep 11, 2005 – Sep 12, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 snd_opl3sa2: add missing pnp_unregister_driver() calls

[PATCH] snd_opl3sa2: add missing pnp_unregister_driver() calls

sound/isa/opl3sa2.c +2 -0
@@ -904,6 +904,7 @@ static int __init alsa_card_opl3sa2_init
 #endif
 #ifdef CONFIG_PNP
 		pnp_unregister_card_driver(&opl3sa2_pnpc_driver);
+		pnp_unregister_driver(&opl3sa2_pnp_driver);
 #endif
 		return -ENODEV;
 	}
@@ -917,6 +918,7 @@ static void __exit alsa_card_opl3sa2_exi
 #ifdef CONFIG_PNP
 	/* PnP cards first */
 	pnp_unregister_card_driver(&opl3sa2_pnpc_driver);
+	pnp_unregister_driver(&opl3sa2_pnp_driver);
 #endif
 	for (idx = 0; idx < SNDRV_CARDS; idx++)
 		snd_card_free(snd_opl3sa2_legacy[idx]);

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#1 lore raw

At Sun, 11 Sep 2005 21:32:05 +0200,

Quoted 4 lines · Daniel Ritz

[PATCH] snd_opl3sa2: add missing pnp_unregister_driver() calls

It's on ALSA tree. Thanks.

Takashi

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf