All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: Krzysztof Helt <krzysztof.h1@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>, Alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] sscape: support for audio part of VIVO cards
Date: Mon, 17 Sep 2007 16:02:13 +0200	[thread overview]
Message-ID: <46EE88E5.1010208@gmail.com> (raw)
In-Reply-To: <20070917155803.8ed52f7d.krzysztof.h1@gmail.com>

On 09/17/2007 03:58 PM, Krzysztof Helt wrote:

> On Mon, 17 Sep 2007 14:30:22 +0200
> Takashi Iwai <tiwai@suse.de> wrote:
> 
>> At Sun, 16 Sep 2007 22:50:24 +0200,
>> Krzysztof Helt wrote:
>>> @@ -358,6 +360,8 @@ static void soundscape_free(struct snd_c
>>>  {
>>>  	register struct soundscape *sscape = get_card_soundscape(c);
>>>  	release_and_free_resource(sscape->io_res);
>>> +	if (sscape->wss_res)
>>> +		release_and_free_resource(sscape->wss_res);
>> You don't need NULL check here.
>>
> 
> I need it as the SS PnP does not request a separate region for codec 
> (wss_port). So the SS PnP do not allocate this resource and it must not
> be freed.

release_and_free-resource() checks for NULL itself, by design.

Rene.

      reply	other threads:[~2007-09-17 14:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-16 20:50 [PATCH] sscape: support for audio part of VIVO cards Krzysztof Helt
2007-09-17 12:30 ` Takashi Iwai
2007-09-17 13:58   ` Krzysztof Helt
2007-09-17 14:02     ` Rene Herman [this message]

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=46EE88E5.1010208@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=krzysztof.h1@gmail.com \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.