diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-20 00:57:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-20 12:41:28 -0400 |
commit | ee839a2127a4f74505c5597966919ca57413f4de (patch) | |
tree | bf08fabb281faedafb8bf6d8b6e223694d61170a /sound/soc/codecs | |
parent | 7d48a6acbcf5325a2551e948bd1557a46dec4c76 (diff) |
ASoC: Tone down debugging for WM8994 class W
It's a little verbose during path changes.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm8994.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 8d3ea9b24267..eefa2427b102 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -2189,13 +2189,13 @@ static void wm8994_update_class_w(struct snd_soc_codec *codec) | |||
2189 | /* Only support direct DAC->headphone paths */ | 2189 | /* Only support direct DAC->headphone paths */ |
2190 | reg = snd_soc_read(codec, WM8994_OUTPUT_MIXER_1); | 2190 | reg = snd_soc_read(codec, WM8994_OUTPUT_MIXER_1); |
2191 | if (!(reg & WM8994_DAC1L_TO_HPOUT1L)) { | 2191 | if (!(reg & WM8994_DAC1L_TO_HPOUT1L)) { |
2192 | dev_dbg(codec->dev, "HPL connected to output mixer\n"); | 2192 | dev_vdbg(codec->dev, "HPL connected to output mixer\n"); |
2193 | enable = 0; | 2193 | enable = 0; |
2194 | } | 2194 | } |
2195 | 2195 | ||
2196 | reg = snd_soc_read(codec, WM8994_OUTPUT_MIXER_2); | 2196 | reg = snd_soc_read(codec, WM8994_OUTPUT_MIXER_2); |
2197 | if (!(reg & WM8994_DAC1R_TO_HPOUT1R)) { | 2197 | if (!(reg & WM8994_DAC1R_TO_HPOUT1R)) { |
2198 | dev_dbg(codec->dev, "HPR connected to output mixer\n"); | 2198 | dev_vdbg(codec->dev, "HPR connected to output mixer\n"); |
2199 | enable = 0; | 2199 | enable = 0; |
2200 | } | 2200 | } |
2201 | 2201 | ||
@@ -2203,26 +2203,26 @@ static void wm8994_update_class_w(struct snd_soc_codec *codec) | |||
2203 | reg = snd_soc_read(codec, WM8994_DAC1_LEFT_MIXER_ROUTING); | 2203 | reg = snd_soc_read(codec, WM8994_DAC1_LEFT_MIXER_ROUTING); |
2204 | switch (reg) { | 2204 | switch (reg) { |
2205 | case WM8994_AIF2DACL_TO_DAC1L: | 2205 | case WM8994_AIF2DACL_TO_DAC1L: |
2206 | dev_dbg(codec->dev, "Class W source AIF2DAC\n"); | 2206 | dev_vdbg(codec->dev, "Class W source AIF2DAC\n"); |
2207 | source = 2 << WM8994_CP_DYN_SRC_SEL_SHIFT; | 2207 | source = 2 << WM8994_CP_DYN_SRC_SEL_SHIFT; |
2208 | break; | 2208 | break; |
2209 | case WM8994_AIF1DAC2L_TO_DAC1L: | 2209 | case WM8994_AIF1DAC2L_TO_DAC1L: |
2210 | dev_dbg(codec->dev, "Class W source AIF1DAC2\n"); | 2210 | dev_vdbg(codec->dev, "Class W source AIF1DAC2\n"); |
2211 | source = 1 << WM8994_CP_DYN_SRC_SEL_SHIFT; | 2211 | source = 1 << WM8994_CP_DYN_SRC_SEL_SHIFT; |
2212 | break; | 2212 | break; |
2213 | case WM8994_AIF1DAC1L_TO_DAC1L: | 2213 | case WM8994_AIF1DAC1L_TO_DAC1L: |
2214 | dev_dbg(codec->dev, "Class W source AIF1DAC1\n"); | 2214 | dev_vdbg(codec->dev, "Class W source AIF1DAC1\n"); |
2215 | source = 0 << WM8994_CP_DYN_SRC_SEL_SHIFT; | 2215 | source = 0 << WM8994_CP_DYN_SRC_SEL_SHIFT; |
2216 | break; | 2216 | break; |
2217 | default: | 2217 | default: |
2218 | dev_dbg(codec->dev, "DAC mixer setting: %x\n", reg); | 2218 | dev_vdbg(codec->dev, "DAC mixer setting: %x\n", reg); |
2219 | enable = 0; | 2219 | enable = 0; |
2220 | break; | 2220 | break; |
2221 | } | 2221 | } |
2222 | 2222 | ||
2223 | reg_r = snd_soc_read(codec, WM8994_DAC1_RIGHT_MIXER_ROUTING); | 2223 | reg_r = snd_soc_read(codec, WM8994_DAC1_RIGHT_MIXER_ROUTING); |
2224 | if (reg_r != reg) { | 2224 | if (reg_r != reg) { |
2225 | dev_dbg(codec->dev, "Left and right DAC mixers different\n"); | 2225 | dev_vdbg(codec->dev, "Left and right DAC mixers different\n"); |
2226 | enable = 0; | 2226 | enable = 0; |
2227 | } | 2227 | } |
2228 | 2228 | ||