From: Takashi Iwai Subject: Re: [PATCH] ad1848-lib: remove open_mutex Date: Wed, 19 Sep 2007 21:53:07 +0200 Message-ID: References: <20070919180631.2de17850.krzysztof.h1@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mail.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 5DC5124179 for ; Wed, 19 Sep 2007 21:53:07 +0200 (CEST) In-Reply-To: <20070919180631.2de17850.krzysztof.h1@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Krzysztof Helt Cc: Alsa-devel , Jaroslav Kysela List-Id: alsa-devel@alsa-project.org At Wed, 19 Sep 2007 18:06:31 +0200, Krzysztof Helt wrote: > > From: Krzysztof Helt > > This patch removes open_mutex from the ad1848-lib as > open and close operations are called only from pcm layer > and mutexed there with pcm->open_mutex. > > Signed-off-by: Krzysztof Helt > > --- > > Another step into crusade against the ad1848-lib. Inspired by > Trent's comments about missing locking I have checked and > open and close operations are already mutexed in the pcm layer > by similarly called pcm->open_mutex. The OSS pcm layer > also uses the pcm->open_mutex. > > Is it right thing to do? (Takashi, Jaroslav)? Yes, it looks fine. But, I'd like to postpone after 1.0.15. OK? Thanks, Takashi