atom feed294 messages in org.kernel.vger.linux-rt-users[PATCH 2/6] s3c2443-ac97: convert sem...
FromSent OnAttachments
124 earlier messages
Tim SanderApr 13, 2009 9:21 am 
Suresh Kumar SHUKLAApr 13, 2009 8:55 pm 
Thomas GleixnerApr 18, 2009 3:13 am 
Robin GareusApr 19, 2009 7:11 am 
Wu ZhangjinApr 20, 2009 6:47 pm 
Thomas GleixnerApr 25, 2009 6:02 am 
Thomas GleixnerApr 28, 2009 3:39 pm 
Thomas GleixnerMay 1, 2009 2:52 pm 
Thomas GleixnerMay 12, 2009 4:27 pm 
Hugo VincentMay 12, 2009 5:15 pm 
Thomas GleixnerMay 13, 2009 3:18 am 
Peter ZijlstraMay 13, 2009 3:24 am 
Thomas GleixnerMay 13, 2009 4:05 am 
Thomas GleixnerMay 22, 2009 6:02 am 
Thomas GleixnerMay 25, 2009 6:46 am 
GeunSik LimJun 2, 2009 9:54 pm 
Thomas GleixnerJun 10, 2009 10:02 am 
Thomas GleixnerJun 12, 2009 10:31 am 
Thomas GleixnerJun 15, 2009 2:19 am 
Wolfgang Johann BETZJun 16, 2009 6:49 am 
Thomas GleixnerJun 17, 2009 1:45 am 
Thomas GleixnerJun 23, 2009 5:30 am 
Thomas GleixnerJul 9, 2009 11:25 am 
Fernando Lopez-LezcanoJul 10, 2009 11:02 am 
Fernando Lopez-LezcanoJul 10, 2009 11:06 am 
Thomas GleixnerJul 10, 2009 11:29 am 
Fernando Lopez-LezcanoJul 10, 2009 5:16 pm 
Jaswinder Singh RajputJul 14, 2009 2:12 am 
Thomas GleixnerJul 29, 2009 5:47 pm 
Tim BlechmannJul 30, 2009 2:56 am.patch
Darren HartJul 30, 2009 4:03 pm 
Clark WilliamsJul 31, 2009 7:12 am 
Frederic WeisbeckerJul 31, 2009 4:21 pm 
Darren HartJul 31, 2009 5:41 pm 
Frederic WeisbeckerJul 31, 2009 6:19 pm 
Thomas MeyerAug 1, 2009 2:48 am 
john stultzAug 4, 2009 6:29 pm 
gowrishankarAug 4, 2009 11:05 pm 
Clark WilliamsAug 5, 2009 6:32 am 
Will SchmidtAug 5, 2009 12:19 pm 
gowrishankarAug 5, 2009 11:45 pm 
Clark WilliamsAug 6, 2009 7:36 am 
Sven-Thorsten DietrichAug 6, 2009 7:46 am 
John KacurAug 6, 2009 7:54 am 
gowrishankarAug 6, 2009 9:39 am 
Sripathi KodiAug 6, 2009 9:25 pm 
Darren HartAug 7, 2009 7:29 am 
Uwe Kleine-KönigAug 7, 2009 1:39 pm 
Uwe Kleine-KönigAug 7, 2009 1:42 pm 
Uwe Kleine-KönigAug 7, 2009 1:42 pm 
Uwe Kleine-KönigAug 7, 2009 1:42 pm 
Uwe Kleine-KönigAug 7, 2009 1:42 pm 
Uwe Kleine-KönigAug 7, 2009 1:42 pm 
Uwe Kleine-KönigAug 7, 2009 1:42 pm 
Uwe Kleine-KönigAug 7, 2009 1:53 pm 
Uwe Kleine-KönigAug 7, 2009 1:54 pm 
Mark BrownAug 8, 2009 12:57 am 
Uwe Kleine-KönigAug 9, 2009 2:36 am 
Uwe Kleine-KönigAug 9, 2009 2:36 am 
Uwe Kleine-KönigAug 9, 2009 2:36 am 
Russell King - ARM LinuxAug 9, 2009 2:42 am 
David MillerAug 9, 2009 9:48 pm 
Uwe Kleine-KönigAug 10, 2009 2:40 am 
David MillerAug 10, 2009 8:00 am 
Kevin HilmanAug 10, 2009 9:47 am 
Russell King - ARM LinuxAug 10, 2009 10:26 am 
Kevin HilmanAug 10, 2009 2:03 pm 
Russell King - ARM LinuxAug 10, 2009 3:02 pm 
Jan EngelhardtAug 11, 2009 3:51 am 
Thomas GleixnerAug 11, 2009 11:08 am 
Will SchmidtAug 12, 2009 1:45 pm 
Thomas GleixnerAug 13, 2009 12:29 am 
Will SchmidtAug 13, 2009 8:04 am 
Kevin HilmanAug 13, 2009 8:05 am 
Uwe Kleine-KönigAug 13, 2009 2:33 pm 
Peter ZijlstraAug 14, 2009 7:02 am 
Nicolas PitreAug 14, 2009 8:58 am 
Uwe Kleine-KönigAug 14, 2009 1:12 pm 
Wim Van SebroeckAug 16, 2009 7:08 am 
Thomas GleixnerAug 16, 2009 1:41 pm 
Dale StimsonAug 17, 2009 9:07 am 
Thomas GleixnerAug 18, 2009 1:03 pm 
Will SchmidtAug 18, 2009 2:04 pm 
Thomas GleixnerAug 18, 2009 2:13 pm 
john stultzAug 18, 2009 3:30 pm 
john stultzAug 18, 2009 3:49 pm 
Will SchmidtAug 18, 2009 4:12 pm 
john stultzAug 18, 2009 5:17 pm.rt
Will SchmidtAug 19, 2009 10:11 am 
Thomas GleixnerAug 19, 2009 2:48 pm 
john stultzAug 19, 2009 7:18 pm 
Dinakar GuniguntalaAug 20, 2009 8:28 am 
Thomas GleixnerAug 21, 2009 2:26 pm 
Mark KnechtAug 21, 2009 3:57 pm 
Thomas GleixnerAug 26, 2009 10:23 am 
Kevin HilmanAug 27, 2009 4:02 am 
Thomas GleixnerAug 28, 2009 2:35 pm 
Wu ZhangjinSep 2, 2009 8:25 am 
Jan EngelhardtSep 12, 2009 2:44 am 
Thomas GleixnerSep 15, 2009 2:11 pm 
70 later messages
Subject:[PATCH 2/6] s3c2443-ac97: convert semaphore to mutex
From:Uwe Kleine-König (u.kl@pengutronix.de)
Date:Aug 7, 2009 1:42:14 pm
List:org.kernel.vger.linux-rt-users

This fixes a build failure for 2.6.31-rc4-rt1 (ARCH=arm, s3c2410_defconfig):

CC [M] sound/soc/s3c24xx/s3c2443-ac97.o sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: type defaults to 'int' in
declaration of 'DECLARE_MUTEX' sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: parameter names (without types)
in function declaration sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_read': sound/soc/s3c24xx/s3c2443-ac97.c:59: error: 'ac97_mutex' undeclared (first use
in this function) sound/soc/s3c24xx/s3c2443-ac97.c:59: error: (Each undeclared identifier is
reported only once sound/soc/s3c24xx/s3c2443-ac97.c:59: error: for each function it appears in.) sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_write': sound/soc/s3c24xx/s3c2443-ac97.c:93: error: 'ac97_mutex' undeclared (first use
in this function)

Signed-off-by: Uwe Kleine-König <u.kl@pengutronix.de> Cc: Takashi Iwai <tiw@suse.de> Cc: Jaroslav Kysela <per@perex.cz> Cc: Mark Brown <broo@opensource.wolfsonmicro.com> Cc: Liam Girdwood <lr@slimlogic.co.uk> Cc: Ben Dooks <ben-@fluff.org> Cc: Timur Tabi <tim@freescale.com> Cc: Eric Miao <eric@marvell.com> Cc: alsa@alsa-project.org Cc: linu@vger.kernel.org

--- sound/soc/s3c24xx/s3c2443-ac97.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sound/soc/s3c24xx/s3c2443-ac97.c b/sound/soc/s3c24xx/s3c2443-ac97.c index 3f03d5d..bf16f20 100644 --- a/sound/soc/s3c24xx/s3c2443-ac97.c +++ b/sound/soc/s3c24xx/s3c2443-ac97.c @@ -47,7 +47,7 @@ static struct s3c24xx_ac97_info s3c24xx_ac97;

static DECLARE_COMPLETION(ac97_completion); static u32 codec_ready; -static DECLARE_MUTEX(ac97_mutex); +static DEFINE_MUTEX(ac97_mutex);

static unsigned short s3c2443_ac97_read(struct snd_ac97 *ac97, unsigned short reg) @@ -56,7 +56,7 @@ static unsigned short s3c2443_ac97_read(struct snd_ac97 *ac97, u32 ac_codec_cmd; u32 stat, addr, data;

- down(&ac97_mutex); + mutex_lock(&ac97_mutex);

codec_ready = S3C_AC97_GLBSTAT_CODECREADY; ac_codec_cmd = readl(s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD); @@ -79,7 +79,7 @@ static unsigned short s3c2443_ac97_read(struct snd_ac97 *ac97, printk(KERN_ERR "s3c24xx-ac97: req addr = %02x," " rep addr = %02x\n", reg, addr);

- up(&ac97_mutex); + mutex_unlock(&ac97_mutex);

return (unsigned short)data; } @@ -90,7 +90,7 @@ static void s3c2443_ac97_write(struct snd_ac97 *ac97, unsigned
short reg, u32 ac_glbctrl; u32 ac_codec_cmd;

- down(&ac97_mutex); + mutex_lock(&ac97_mutex);

codec_ready = S3C_AC97_GLBSTAT_CODECREADY; ac_codec_cmd = readl(s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD); @@ -109,7 +109,7 @@ static void s3c2443_ac97_write(struct snd_ac97 *ac97,
unsigned short reg, ac_codec_cmd |= S3C_AC97_CODEC_CMD_READ; writel(ac_codec_cmd, s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);

- up(&ac97_mutex); + mutex_unlock(&ac97_mutex);