lkml.org 
[lkml]   [2000]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectnm256 audio driver fix
Hello!

attached diff fixes unneeded releases in NeoMagic256 audio driver.

Bye,
Oleg
--- drivers/sound/nm256_audio.c.orig Sat Oct 21 14:26:47 2000
+++ drivers/sound/nm256_audio.c Sat Oct 21 14:41:20 2000
@@ -58,9 +58,7 @@

for (x = 0; x < 2; x++) {
if (card->port[x].ptr != NULL) {
- u32 size =
- card->port[x].end_offset - card->port[x].start_offset;
- release_region ((unsigned long) card->port[x].ptr, size);
+ iounmap (card->port[x].ptr);
card->port[x].ptr = NULL;
}
}
@@ -1025,7 +1023,7 @@
pointer);
}

- release_region ((unsigned long) temp, 16);
+ iounmap (temp);
}

/*
\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.023 / U:1.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site