ASoC: arizona: Log the clock we're setting the DAI to use
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Dec 2012 03:49:40 +0000 (12:49 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Dec 2012 03:53:12 +0000 (12:53 +0900)
Useful for diagnostics.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/arizona.c

index 6c1be6cadc0bcc6f77684be15bac42fca51844a7..8e1da574f33bc865b6055d8c7c713ca82d2c9f5a 100644 (file)
@@ -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;