diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2014-10-16 00:55:32 +0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 15:22:20 +0400 |
commit | 8a4bd60af4cbdfbdaab6dec6ab86471733197a4f (patch) | |
tree | 5d327e0de4de8e5fd38bea4a504070364ed5227e /sound/soc/codecs/rt5677.c | |
parent | af48f1d08a5474184da9aaf8b77f4a2848b1875e (diff) | |
download | linux-8a4bd60af4cbdfbdaab6dec6ab86471733197a4f.tar.xz |
ASoC: rt5677: Print more information if setting DAI clock failed
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5677.c')
-rw-r--r-- | sound/soc/codecs/rt5677.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c index e6e54fa648aa..caada9192f0f 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c @@ -3104,7 +3104,8 @@ static int rt5677_hw_params(struct snd_pcm_substream *substream, rt5677->lrck[dai->id] = params_rate(params); pre_div = rl6231_get_clk_info(rt5677->sysclk, rt5677->lrck[dai->id]); if (pre_div < 0) { - dev_err(codec->dev, "Unsupported clock setting\n"); + dev_err(codec->dev, "Unsupported clock setting: sysclk=%dHz lrck=%dHz\n", + rt5677->sysclk, rt5677->lrck[dai->id]); return -EINVAL; } frame_size = snd_soc_params_to_frame_size(params); |