| From | Sent On | Attachments |
|---|---|---|
| 124 earlier messages | ||
| Tim Sander | Apr 13, 2009 9:21 am | |
| Suresh Kumar SHUKLA | Apr 13, 2009 8:55 pm | |
| Thomas Gleixner | Apr 18, 2009 3:13 am | |
| Robin Gareus | Apr 19, 2009 7:11 am | |
| Wu Zhangjin | Apr 20, 2009 6:47 pm | |
| Thomas Gleixner | Apr 25, 2009 6:02 am | |
| Thomas Gleixner | Apr 28, 2009 3:39 pm | |
| Thomas Gleixner | May 1, 2009 2:52 pm | |
| Thomas Gleixner | May 12, 2009 4:27 pm | |
| Hugo Vincent | May 12, 2009 5:15 pm | |
| Thomas Gleixner | May 13, 2009 3:18 am | |
| Peter Zijlstra | May 13, 2009 3:24 am | |
| Thomas Gleixner | May 13, 2009 4:05 am | |
| Thomas Gleixner | May 22, 2009 6:02 am | |
| Thomas Gleixner | May 25, 2009 6:46 am | |
| GeunSik Lim | Jun 2, 2009 9:54 pm | |
| Thomas Gleixner | Jun 10, 2009 10:02 am | |
| Thomas Gleixner | Jun 12, 2009 10:31 am | |
| Thomas Gleixner | Jun 15, 2009 2:19 am | |
| Wolfgang Johann BETZ | Jun 16, 2009 6:49 am | |
| Thomas Gleixner | Jun 17, 2009 1:45 am | |
| Thomas Gleixner | Jun 23, 2009 5:30 am | |
| Thomas Gleixner | Jul 9, 2009 11:25 am | |
| Fernando Lopez-Lezcano | Jul 10, 2009 11:02 am | |
| Fernando Lopez-Lezcano | Jul 10, 2009 11:06 am | |
| Thomas Gleixner | Jul 10, 2009 11:29 am | |
| Fernando Lopez-Lezcano | Jul 10, 2009 5:16 pm | |
| Jaswinder Singh Rajput | Jul 14, 2009 2:12 am | |
| Thomas Gleixner | Jul 29, 2009 5:47 pm | |
| Tim Blechmann | Jul 30, 2009 2:56 am | .patch |
| Darren Hart | Jul 30, 2009 4:03 pm | |
| Clark Williams | Jul 31, 2009 7:12 am | |
| Frederic Weisbecker | Jul 31, 2009 4:21 pm | |
| Darren Hart | Jul 31, 2009 5:41 pm | |
| Frederic Weisbecker | Jul 31, 2009 6:19 pm | |
| Thomas Meyer | Aug 1, 2009 2:48 am | |
| john stultz | Aug 4, 2009 6:29 pm | |
| gowrishankar | Aug 4, 2009 11:05 pm | |
| Clark Williams | Aug 5, 2009 6:32 am | |
| Will Schmidt | Aug 5, 2009 12:19 pm | |
| gowrishankar | Aug 5, 2009 11:45 pm | |
| Clark Williams | Aug 6, 2009 7:36 am | |
| Sven-Thorsten Dietrich | Aug 6, 2009 7:46 am | |
| John Kacur | Aug 6, 2009 7:54 am | |
| gowrishankar | Aug 6, 2009 9:39 am | |
| Sripathi Kodi | Aug 6, 2009 9:25 pm | |
| Darren Hart | Aug 7, 2009 7:29 am | |
| Uwe Kleine-König | Aug 7, 2009 1:39 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:53 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:54 pm | |
| Mark Brown | Aug 8, 2009 12:57 am | |
| Uwe Kleine-König | Aug 9, 2009 2:36 am | |
| Uwe Kleine-König | Aug 9, 2009 2:36 am | |
| Uwe Kleine-König | Aug 9, 2009 2:36 am | |
| Russell King - ARM Linux | Aug 9, 2009 2:42 am | |
| David Miller | Aug 9, 2009 9:48 pm | |
| Uwe Kleine-König | Aug 10, 2009 2:40 am | |
| David Miller | Aug 10, 2009 8:00 am | |
| Kevin Hilman | Aug 10, 2009 9:47 am | |
| Russell King - ARM Linux | Aug 10, 2009 10:26 am | |
| Kevin Hilman | Aug 10, 2009 2:03 pm | |
| Russell King - ARM Linux | Aug 10, 2009 3:02 pm | |
| Jan Engelhardt | Aug 11, 2009 3:51 am | |
| Thomas Gleixner | Aug 11, 2009 11:08 am | |
| Will Schmidt | Aug 12, 2009 1:45 pm | |
| Thomas Gleixner | Aug 13, 2009 12:29 am | |
| Will Schmidt | Aug 13, 2009 8:04 am | |
| Kevin Hilman | Aug 13, 2009 8:05 am | |
| Uwe Kleine-König | Aug 13, 2009 2:33 pm | |
| Peter Zijlstra | Aug 14, 2009 7:02 am | |
| Nicolas Pitre | Aug 14, 2009 8:58 am | |
| Uwe Kleine-König | Aug 14, 2009 1:12 pm | |
| Wim Van Sebroeck | Aug 16, 2009 7:08 am | |
| Thomas Gleixner | Aug 16, 2009 1:41 pm | |
| Dale Stimson | Aug 17, 2009 9:07 am | |
| Thomas Gleixner | Aug 18, 2009 1:03 pm | |
| Will Schmidt | Aug 18, 2009 2:04 pm | |
| Thomas Gleixner | Aug 18, 2009 2:13 pm | |
| john stultz | Aug 18, 2009 3:30 pm | |
| john stultz | Aug 18, 2009 3:49 pm | |
| Will Schmidt | Aug 18, 2009 4:12 pm | |
| john stultz | Aug 18, 2009 5:17 pm | .rt |
| Will Schmidt | Aug 19, 2009 10:11 am | |
| Thomas Gleixner | Aug 19, 2009 2:48 pm | |
| john stultz | Aug 19, 2009 7:18 pm | |
| Dinakar Guniguntala | Aug 20, 2009 8:28 am | |
| Thomas Gleixner | Aug 21, 2009 2:26 pm | |
| Mark Knecht | Aug 21, 2009 3:57 pm | |
| Thomas Gleixner | Aug 26, 2009 10:23 am | |
| Kevin Hilman | Aug 27, 2009 4:02 am | |
| Thomas Gleixner | Aug 28, 2009 2:35 pm | |
| Wu Zhangjin | Sep 2, 2009 8:25 am | |
| Jan Engelhardt | Sep 12, 2009 2:44 am | |
| Thomas Gleixner | Sep 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);
}
-- 1.6.3.3
-- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majo...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html






.patch