소스 검색

Merge branch 'fix/asoc' into for-linus

Takashi Iwai 17 년 전
부모
커밋
7df0eb424d
5개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 1
      sound/soc/atmel/atmel_ssc_dai.c
  2. 1 1
      sound/soc/atmel/atmel_ssc_dai.h
  3. 1 1
      sound/soc/codecs/wm8350.c
  4. 1 2
      sound/soc/codecs/wm8990.c
  5. 3 2
      sound/soc/omap/omap-pcm.c

+ 1 - 1
sound/soc/atmel/atmel_ssc_dai.c

@@ -10,7 +10,7 @@
  * Based on at91-ssc.c by
  * Based on at91-ssc.c by
  * Frank Mandarino <fmandarino@endrelia.com>
  * Frank Mandarino <fmandarino@endrelia.com>
  * Based on pxa2xx Platform drivers by
  * Based on pxa2xx Platform drivers by
- * Liam Girdwood <liam.girdwood@wolfsonmicro.com>
+ * Liam Girdwood <lrg@slimlogic.co.uk>
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * it under the terms of the GNU General Public License as published by

+ 1 - 1
sound/soc/atmel/atmel_ssc_dai.h

@@ -10,7 +10,7 @@
  * Based on at91-ssc.c by
  * Based on at91-ssc.c by
  * Frank Mandarino <fmandarino@endrelia.com>
  * Frank Mandarino <fmandarino@endrelia.com>
  * Based on pxa2xx Platform drivers by
  * Based on pxa2xx Platform drivers by
- * Liam Girdwood <liam.girdwood@wolfsonmicro.com>
+ * Liam Girdwood <lrg@slimlogic.co.uk>
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * it under the terms of the GNU General Public License as published by

+ 1 - 1
sound/soc/codecs/wm8350.c

@@ -3,7 +3,7 @@
  *
  *
  * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC.
  * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC.
  *
  *
- * Author: Liam Girdwood <lg@opensource.wolfsonmicro.com>
+ * Author: Liam Girdwood <lrg@slimlogic.co.uk>
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * it under the terms of the GNU General Public License version 2 as

+ 1 - 2
sound/soc/codecs/wm8990.c

@@ -2,8 +2,7 @@
  * wm8990.c  --  WM8990 ALSA Soc Audio driver
  * wm8990.c  --  WM8990 ALSA Soc Audio driver
  *
  *
  * Copyright 2008 Wolfson Microelectronics PLC.
  * Copyright 2008 Wolfson Microelectronics PLC.
- * Author: Liam Girdwood
- *         lg@opensource.wolfsonmicro.com or linux@wolfsonmicro.com
+ * Author: Liam Girdwood <lrg@slimlogic.co.uk>
  *
  *
  *  This program is free software; you can redistribute  it and/or modify it
  *  This program is free software; you can redistribute  it and/or modify it
  *  under  the terms of  the GNU General  Public License as published by the
  *  under  the terms of  the GNU General  Public License as published by the

+ 3 - 2
sound/soc/omap/omap-pcm.c

@@ -175,9 +175,10 @@ static int omap_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
 {
 {
 	struct snd_pcm_runtime *runtime = substream->runtime;
 	struct snd_pcm_runtime *runtime = substream->runtime;
 	struct omap_runtime_data *prtd = runtime->private_data;
 	struct omap_runtime_data *prtd = runtime->private_data;
+	unsigned long flags;
 	int ret = 0;
 	int ret = 0;
 
 
-	spin_lock_irq(&prtd->lock);
+	spin_lock_irqsave(&prtd->lock, flags);
 	switch (cmd) {
 	switch (cmd) {
 	case SNDRV_PCM_TRIGGER_START:
 	case SNDRV_PCM_TRIGGER_START:
 	case SNDRV_PCM_TRIGGER_RESUME:
 	case SNDRV_PCM_TRIGGER_RESUME:
@@ -195,7 +196,7 @@ static int omap_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
 	default:
 	default:
 		ret = -EINVAL;
 		ret = -EINVAL;
 	}
 	}
-	spin_unlock_irq(&prtd->lock);
+	spin_unlock_irqrestore(&prtd->lock, flags);
 
 
 	return ret;
 	return ret;
 }
 }