public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <paul.mundt@nokia.com>
To: Dirk Behme <dirk.behme@googlemail.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] Convert OSS aic23 to mutex
Date: Wed, 5 Apr 2006 22:00:13 +0300	[thread overview]
Message-ID: <20060405190013.GA5532@nokia.com> (raw)
In-Reply-To: <443407FB.2060304@gmail.com>

On Wed, Apr 05, 2006 at 08:10:03PM +0200, Dirk Behme wrote:
> --- ./sound/oss/omap-audio-aic23.c_orig	2006-04-05 20:02:22.000000000 +0200
> +++ ./sound/oss/omap-audio-aic23.c	2006-04-05 20:03:05.000000000 +0200
> @@ -243,7 +243,7 @@ static audio_state_t aic23_state = {
>          .hw_remove      =  __exit_p(omap_aic23_remove),
>          .hw_suspend     = omap_aic23_suspend,
>          .hw_resume      = omap_aic23_resume,
> -	.sem	    = __SEMAPHORE_INIT(aic23_state.sem, 1),
> +	.mutex	    = __MUTEX_INITIALIZER(aic23_state.mutex),
>  };
>  
>  /* This will be defined in the audio.h */
> 
Are you sure this doesn't need an #include <linux/mutex.h>? All of the
other conversions so far have..

  reply	other threads:[~2006-04-05 19:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05 18:10 [PATCH] Convert OSS aic23 to mutex Dirk Behme
2006-04-05 19:00 ` Paul Mundt [this message]
2006-04-06 14:45   ` Dirk Behme
2006-04-28 10:29     ` tony

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=20060405190013.GA5532@nokia.com \
    --to=paul.mundt@nokia.com \
    --cc=dirk.behme@googlemail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /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