summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-07 12:49:40 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-07 12:53:12 +0900
commitc8d35a6a3e071a93814a78ce997143aa02067351 (patch)
treefb3cbb1d175ef73ecf958beb3e6bb9ec7c58def5 /sound
parent0c778e86337148110b13b609074109eb4dcacd15 (diff)
ASoC: arizona: Log the clock we're setting the DAI to use
Useful for diagnostics. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/arizona.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index 6c1be6cadc0b..8e1da574f33b 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -749,6 +749,9 @@ static int arizona_dai_set_sysclk(struct snd_soc_dai *dai,
return -EBUSY;
}
+ dev_dbg(codec->dev, "Setting AIF%d to %s\n", dai->id + 1,
+ arizona_dai_clk_str(clk_id));
+
memset(&routes, 0, sizeof(routes));
routes[0].sink = dai->driver->capture.stream_name;
routes[1].sink = dai->driver->playback.stream_name;