public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.2ac22
Date: Thu, 22 Mar 2001 19:30:17 -0500	[thread overview]
Message-ID: <3ABA9919.C6BEABD4@redhat.com> (raw)
In-Reply-To: <E14gEvg-0003c0-00@the-village.bc.nu>

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

Alan Cox wrote:

> o       Next incarnation of the i810 audio driver       (Doug Ledford)

Is this the i810 that's in Red Hat's CVS or the last copy of the big file that
I sent you?  If it's the last copy of the big file I sent you, then it has a
memory leak that needs fixed.  I committed the fix for the memory leak to the
CVS archive something like two days ago.  The patch is attached.

-- 

 Doug Ledford <dledford@redhat.com>  http://people.redhat.com/dledford
      Please check my web site for aic7xxx updates/answers before
                      e-mailing me about problems

[-- Attachment #2: linux-2.4.2-i810_audio-dealloc.patch --]
[-- Type: text/plain, Size: 454 bytes --]

--- linux/drivers/sound/i810_audio.c.save	Wed Mar 21 20:44:29 2001
+++ linux/drivers/sound/i810_audio.c	Wed Mar 21 20:44:34 2001
@@ -1820,12 +1820,11 @@
 			return -EBUSY;
 		}
 		stop_dac(state);
-		dealloc_dmabuf(state);
 	}
 	if(dmabuf->enable & ADC_RUNNING) {
 		stop_adc(state);
-		dealloc_dmabuf(state);
 	}
+	dealloc_dmabuf(state);
 	if (file->f_mode & FMODE_WRITE) {
 		state->card->free_pcm_channel(state->card, dmabuf->write_channel->num);
 	}

  reply	other threads:[~2001-03-23  0:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-22 23:55 Linux 2.4.2ac22 Alan Cox
2001-03-23  0:30 ` Doug Ledford [this message]
2001-03-23  2:54 ` Aaron Tiensivu
2001-03-23  9:50   ` Alan Cox
2001-03-23 19:43     ` Kevin Buhr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ABA9919.C6BEABD4@redhat.com \
    --to=dledford@redhat.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox