From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161480AbXDSNYA (ORCPT ); Thu, 19 Apr 2007 09:24:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161490AbXDSNX7 (ORCPT ); Thu, 19 Apr 2007 09:23:59 -0400 Received: from cantor.suse.de ([195.135.220.2]:53881 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161480AbXDSNX7 (ORCPT ); Thu, 19 Apr 2007 09:23:59 -0400 Date: Thu, 19 Apr 2007 15:23:57 +0200 Message-ID: From: Takashi Iwai To: Milind Arun Choudhary Cc: Kernel Janitors , Andrw Morton , LKML , liam.girdwood@wolfsonmicro.com Subject: Re: [KJ][PATCH] sound: SPIN_LOCK_UNLOCKED cleanup In-Reply-To: <20070419114444.GA12114@arun.site> References: <20070419114444.GA12114@arun.site> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta27) (fiddleheads) (+CVS-20060704) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Thu, 19 Apr 2007 17:14:44 +0530, Milind Arun Choudhary wrote: > > SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead > > Signed-off-by: Milind Arun Choudhary Thanks, applied to ALSA tree now. (The file was renamed to at91-ssc.c, so I applied it manually.) Takashi > > --- > > soc/at91/at91-i2s.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/sound/soc/at91/at91-i2s.c b/sound/soc/at91/at91-i2s.c > index 9fc0c03..d65a47d 100644 > --- a/sound/soc/at91/at91-i2s.c > +++ b/sound/soc/at91/at91-i2s.c > @@ -151,20 +151,20 @@ static struct at91_ssc_info { > } ssc_info[NUM_SSC_DEVICES] = { > { > .name = "ssc0", > - .lock = SPIN_LOCK_UNLOCKED, > + .lock = __SPIN_LOCK_UNLOCKED(ssc_info[0].lock), > .dir_mask = 0, > .initialized = 0, > }, > #if NUM_SSC_DEVICES == 3 > { > .name = "ssc1", > - .lock = SPIN_LOCK_UNLOCKED, > + .lock = __SPIN_LOCK_UNLOCKED(ssc_info[1].lock), > .dir_mask = 0, > .initialized = 0, > }, > { > .name = "ssc2", > - .lock = SPIN_LOCK_UNLOCKED, > + .lock = __SPIN_LOCK_UNLOCKED(ssc_info[2].lock), > .dir_mask = 0, > .initialized = 0, > }, > -- > Milind Arun Choudhary > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >