Skip to content

Commit

Permalink
ASoC: Fix logging severity for some S3C error messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Mar 6, 2009
1 parent ee7d476 commit b52a519
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sound/soc/s3c24xx/s3c-i2s-v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/s3c24xx/s3c24xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/s3c24xx/s3c24xx-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit b52a519

Please sign in to comment.