Patchwork [11/11] sound: Remove pr_<level> uses of KERN_<level>

login
register
mail settings
Submitter Joe Perches
Date Sept. 12, 2010, 5:10 a.m.
Message ID <27a88f64b5bfec16c8abf5aca89b7a1b7533ecb9.1284267142.git.joe@perches.com>
Download mbox | patch
Permalink /patch/64542/
State Not Applicable
Headers show

Comments

Joe Perches - Sept. 12, 2010, 5:10 a.m.
Signed-off-by: Joe Perches <joe@perches.com>
---
 sound/ppc/snd_ps3.c         |    2 +-
 sound/soc/s3c24xx/s3c-dma.c |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
Mark Brown - Sept. 13, 2010, 8:25 a.m.
On Sat, Sep 11, 2010 at 10:10:59PM -0700, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  sound/ppc/snd_ps3.c         |    2 +-
>  sound/soc/s3c24xx/s3c-dma.c |    3 +--
>  2 files changed, 2 insertions(+), 3 deletions(-)

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Geoff Levand - Sept. 13, 2010, 5:55 p.m.
Hi Joe,

On 09/11/2010 10:10 PM, Joe Perches wrote:
>  sound/ppc/snd_ps3.c         |    2 +-
> 
> diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
> index 2f12da4..581a670 100644
> --- a/sound/ppc/snd_ps3.c
> +++ b/sound/ppc/snd_ps3.c
> @@ -579,7 +579,7 @@ static int snd_ps3_delay_to_bytes(struct snd_pcm_substream *substream,
>  				  rate * delay_ms / 1000)
>  		* substream->runtime->channels;
>  
> -	pr_debug(KERN_ERR "%s: time=%d rate=%d bytes=%ld, frames=%d, ret=%d\n",
> +	pr_debug("%s: time=%d rate=%d bytes=%ld, frames=%d, ret=%d\n",
>  		 __func__,
>  		 delay_ms,
>  		 rate,

snd_ps3.c looks OK.

Acked-by: Geoff Levand <geoff@infradead.org>
Takashi Iwai - Sept. 13, 2010, 9:41 p.m.
At Sat, 11 Sep 2010 22:10:59 -0700,
Joe Perches wrote:
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Applied to sound git tree now.  Thanks.


Takashi

> ---
>  sound/ppc/snd_ps3.c         |    2 +-
>  sound/soc/s3c24xx/s3c-dma.c |    3 +--
>  2 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
> index 2f12da4..581a670 100644
> --- a/sound/ppc/snd_ps3.c
> +++ b/sound/ppc/snd_ps3.c
> @@ -579,7 +579,7 @@ static int snd_ps3_delay_to_bytes(struct snd_pcm_substream *substream,
>  				  rate * delay_ms / 1000)
>  		* substream->runtime->channels;
>  
> -	pr_debug(KERN_ERR "%s: time=%d rate=%d bytes=%ld, frames=%d, ret=%d\n",
> +	pr_debug("%s: time=%d rate=%d bytes=%ld, frames=%d, ret=%d\n",
>  		 __func__,
>  		 delay_ms,
>  		 rate,
> diff --git a/sound/soc/s3c24xx/s3c-dma.c b/sound/soc/s3c24xx/s3c-dma.c
> index 1b61c23..f1b1bc4 100644
> --- a/sound/soc/s3c24xx/s3c-dma.c
> +++ b/sound/soc/s3c24xx/s3c-dma.c
> @@ -94,8 +94,7 @@ static void s3c_dma_enqueue(struct snd_pcm_substream *substream)
>  
>  		if ((pos + len) > prtd->dma_end) {
>  			len  = prtd->dma_end - pos;
> -			pr_debug(KERN_DEBUG "%s: corrected dma len %ld\n",
> -			       __func__, len);
> +			pr_debug("%s: corrected dma len %ld\n", __func__, len);
>  		}
>  
>  		ret = s3c2410_dma_enqueue(prtd->params->channel,
> -- 
> 1.7.3.rc1
>

Patch

diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
index 2f12da4..581a670 100644
--- a/sound/ppc/snd_ps3.c
+++ b/sound/ppc/snd_ps3.c
@@ -579,7 +579,7 @@  static int snd_ps3_delay_to_bytes(struct snd_pcm_substream *substream,
 				  rate * delay_ms / 1000)
 		* substream->runtime->channels;
 
-	pr_debug(KERN_ERR "%s: time=%d rate=%d bytes=%ld, frames=%d, ret=%d\n",
+	pr_debug("%s: time=%d rate=%d bytes=%ld, frames=%d, ret=%d\n",
 		 __func__,
 		 delay_ms,
 		 rate,
diff --git a/sound/soc/s3c24xx/s3c-dma.c b/sound/soc/s3c24xx/s3c-dma.c
index 1b61c23..f1b1bc4 100644
--- a/sound/soc/s3c24xx/s3c-dma.c
+++ b/sound/soc/s3c24xx/s3c-dma.c
@@ -94,8 +94,7 @@  static void s3c_dma_enqueue(struct snd_pcm_substream *substream)
 
 		if ((pos + len) > prtd->dma_end) {
 			len  = prtd->dma_end - pos;
-			pr_debug(KERN_DEBUG "%s: corrected dma len %ld\n",
-			       __func__, len);
+			pr_debug("%s: corrected dma len %ld\n", __func__, len);
 		}
 
 		ret = s3c2410_dma_enqueue(prtd->params->channel,