Skip to content

Commit

Permalink
[PATCH] isdn: fix missing unregister_capi_driver
Browse files Browse the repository at this point in the history
unregister_capi_driver() needs to be called in module cleanup.
(It fixes data corruption by reloading t1isa driver)

Cc: Kai Germaschewski <kai.germaschewski@gmx.de>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Dec 8, 2006
1 parent e2de257 commit ba6d14a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/isdn/hardware/avm/t1isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ static void __exit t1isa_exit(void)
{
int i;

unregister_capi_driver(&capi_driver_t1isa);
for (i = 0; i < MAX_CARDS; i++) {
if (!io[i])
break;
Expand Down

0 comments on commit ba6d14a

Please sign in to comment.