|
发表于 2015-7-11 10:21:57
板凳
试试以下补丁:
diff --git a/kernel/sound/soc/codecs/rk312x_codec.c b/kernel/sound/soc/codecs/rk312x_codec.c
index 2087fa6..9c6f0af 100755
--- a/kernel/sound/soc/codecs/rk312x_codec.c
+++ b/kernel/sound/soc/codecs/rk312x_codec.c
@@ -1605,6 +1605,8 @@ static int rk312x_hw_params(struct snd_pcm_substream *substream,
/* lrck = bclk / (wl * 2) */
div = (((rk312x->stereo_sysclk / 4) / rate) / 2);
+ if (div > 32)
+ div = 32;
if ((rk312x->stereo_sysclk % (4 * rate * 2) > 0) ||
(div != 16 && div != 20 && div != 24 && div != 32)) {
DBG("%s : need PLL\n", __func__);
|
|