ASoC: arizona: Log the clock we're setting the DAI to use
Subsystems (3)
PATCH 1/1 ASoC: arizona: Log the clock we're setting the DAI to use
Useful for diagnostics.
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/codecs/arizona.c | 3 +++ 1 file changed, 3 insertions(+)
sound/soc/codecs/arizona.c +3 -0
@@ -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;
Signature · 1 line
1.7.10.4