ASoC: Fix logging severity for some S3C error messages
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Mar 2009 18:13:43 +0000 (18:13 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Mar 2009 18:13:43 +0000 (18:13 +0000)
Upgrade the severity of some failure messages from debug level so
they're displayed by default.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/s3c-i2s-v2.c
sound/soc/s3c24xx/s3c24xx-i2s.c
sound/soc/s3c24xx/s3c24xx-pcm.c

index b7b8e47..295a4c9 100644 (file)
@@ -553,7 +553,7 @@ int s3c_i2sv2_probe(struct platform_device *pdev,
 
        i2s->iis_pclk = clk_get(dev, "iis");
        if (i2s->iis_pclk == NULL) {
-               pr_debug("failed to get iis_clock\n");
+               dev_err(dev, "failed to get iis_clock\n");
                iounmap(i2s->regs);
                return -ENOENT;
        }
index 2fbead3..580cfed 100644 (file)
@@ -390,7 +390,7 @@ static int s3c24xx_i2s_probe(struct platform_device *pdev,
 
        s3c24xx_i2s.iis_clk = clk_get(&pdev->dev, "iis");
        if (s3c24xx_i2s.iis_clk == NULL) {
-               pr_debug("failed to get iis_clock\n");
+               pr_err("failed to get iis_clock\n");
                iounmap(s3c24xx_i2s.regs);
                return -ENODEV;
        }
index 269f5c8..a9d68fa 100644 (file)
@@ -161,7 +161,7 @@ static int s3c24xx_pcm_hw_params(struct snd_pcm_substream *substream,
                                          prtd->params->client, NULL);
 
                if (ret < 0) {
-                       pr_debug(KERN_ERR "failed to get dma channel\n");
+                       printk(KERN_ERR "failed to get dma channel\n");
                        return ret;
                }
        }