mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[PATCH] isdn: fix missing unregister_capi_driver
unregister_capi_driver() needs to be called in module cleanup. (It fixes data corruption by reloading t1isa driver) Cc: Kai Germaschewski <[email protected]> Acked-by: Karsten Keil <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e2de257cf1
commit
ba6d14aff4
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue