8 Feb
2016
8 Feb
'16
4:04 p.m.
The equation to calculate bclk_ms is wrong, fix it.
Signed-off-by: Axel Lin axel.lin@ingics.com --- sound/soc/codecs/rt5514.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/rt5514.c b/sound/soc/codecs/rt5514.c index 879bf60..5bfe720 100644 --- a/sound/soc/codecs/rt5514.c +++ b/sound/soc/codecs/rt5514.c @@ -574,7 +574,7 @@ static int rt5514_hw_params(struct snd_pcm_substream *substream, return -EINVAL; }
- bclk_ms = frame_size > 32; + bclk_ms = frame_size >> 32; rt5514->bclk = rt5514->lrck * (32 << bclk_ms);
dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n",
--
2.1.4