[alsa-devel] [PATCH] ASoC: arizona: Log the clock we're setting the DAI to use
7 Dec
2012
7 Dec
'12
4:50 a.m.
Useful for diagnostics.
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com --- sound/soc/codecs/arizona.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index a7eb553..d5385dc 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c @@ -811,6 +811,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;
--
1.7.10.4
4398
Age (days ago)
4398
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown