projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af48f1d
)
ASoC: rt5677: Print more information if setting DAI clock failed
author
Anatol Pomozov
<anatol.pomozov@gmail.com>
Wed, 15 Oct 2014 20:55:32 +0000
(13:55 -0700)
committer
Mark Brown
<broonie@kernel.org>
Mon, 20 Oct 2014 11:22:20 +0000
(12:22 +0100)
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5677.c
b/sound/soc/codecs/rt5677.c
index e6e54fa648aa2eaa19dab987973b9ba2bfe15fca..caada9192f0fc494882b23597b0850d8d0805658 100644
(file)
--- 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);