aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Niederprüm <niederp@physik.uni-kl.de>2015-01-21 18:01:59 -0500
committerMark Brown <broonie@kernel.org>2015-01-27 12:13:25 -0500
commit30374d5dd3028cdc522ec7cc6593cb877deb0435 (patch)
treec89cc0870b3338ea13896edb712d5ec197f7f6fd
parentf04b1e760a51120f358826d815d12c3f8ecdf1b4 (diff)
ASoC: sta32x: use dev_dbg() for debug output.
Signed-off-by: Thomas Niederprüm <niederp@physik.uni-kl.de> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/sta32x.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/codecs/sta32x.c b/sound/soc/codecs/sta32x.c
index 669b67f8cee3..e696efc6ec25 100644
--- a/sound/soc/codecs/sta32x.c
+++ b/sound/soc/codecs/sta32x.c
@@ -700,10 +700,10 @@ static int sta32x_hw_params(struct snd_pcm_substream *substream,
700 700
701 switch (params_width(params)) { 701 switch (params_width(params)) {
702 case 24: 702 case 24:
703 pr_debug("24bit\n"); 703 dev_dbg(codec->dev, "24bit\n");
704 /* fall through */ 704 /* fall through */
705 case 32: 705 case 32:
706 pr_debug("24bit or 32bit\n"); 706 dev_dbg(codec->dev, "24bit or 32bit\n");
707 switch (sta32x->format) { 707 switch (sta32x->format) {
708 case SND_SOC_DAIFMT_I2S: 708 case SND_SOC_DAIFMT_I2S:
709 confb |= 0x0; 709 confb |= 0x0;
@@ -718,7 +718,7 @@ static int sta32x_hw_params(struct snd_pcm_substream *substream,
718 718
719 break; 719 break;
720 case 20: 720 case 20:
721 pr_debug("20bit\n"); 721 dev_dbg(codec->dev, "20bit\n");
722 switch (sta32x->format) { 722 switch (sta32x->format) {
723 case SND_SOC_DAIFMT_I2S: 723 case SND_SOC_DAIFMT_I2S:
724 confb |= 0x4; 724 confb |= 0x4;
@@ -733,7 +733,7 @@ static int sta32x_hw_params(struct snd_pcm_substream *substream,
733 733
734 break; 734 break;
735 case 18: 735 case 18:
736 pr_debug("18bit\n"); 736 dev_dbg(codec->dev, "18bit\n");
737 switch (sta32x->format) { 737 switch (sta32x->format) {
738 case SND_SOC_DAIFMT_I2S: 738 case SND_SOC_DAIFMT_I2S:
739 confb |= 0x8; 739 confb |= 0x8;
@@ -748,7 +748,7 @@ static int sta32x_hw_params(struct snd_pcm_substream *substream,
748 748
749 break; 749 break;
750 case 16: 750 case 16:
751 pr_debug("16bit\n"); 751 dev_dbg(codec->dev, "16bit\n");
752 switch (sta32x->format) { 752 switch (sta32x->format) {
753 case SND_SOC_DAIFMT_I2S: 753 case SND_SOC_DAIFMT_I2S:
754 confb |= 0x0; 754 confb |= 0x0;
@@ -808,7 +808,7 @@ static int sta32x_set_bias_level(struct snd_soc_codec *codec,
808 int ret; 808 int ret;
809 struct sta32x_priv *sta32x = snd_soc_codec_get_drvdata(codec); 809 struct sta32x_priv *sta32x = snd_soc_codec_get_drvdata(codec);
810 810
811 pr_debug("level = %d\n", level); 811 dev_dbg(codec->dev, "level = %d\n", level);
812 switch (level) { 812 switch (level) {
813 case SND_SOC_BIAS_ON: 813 case SND_SOC_BIAS_ON:
814 break; 814 break;