public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Convert OSS aic23 to mutex
@ 2006-04-05 18:10 Dirk Behme
  2006-04-05 19:00 ` Paul Mundt
  0 siblings, 1 reply; 4+ messages in thread
From: Dirk Behme @ 2006-04-05 18:10 UTC (permalink / raw)
  To: linux-omap-open-source

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


ARM: OMAP: Convert OSS aic23 to mutex.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>


[-- Attachment #2: omap-audio-aic23_mutex_patch.txt --]
[-- Type: text/plain, Size: 510 bytes --]

--- ./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 */


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-28 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-05 18:10 [PATCH] Convert OSS aic23 to mutex Dirk Behme
2006-04-05 19:00 ` Paul Mundt
2006-04-06 14:45   ` Dirk Behme
2006-04-28 10:29     ` tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox