ASoC: rt5514: Fix up calculation for bclk_ms
Subsystems (3)
PATCH 1/1 ASoC: rt5514: Fix up calculation for bclk_ms
The equation to calculate bclk_ms is wrong, fix it.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/codecs/rt5514.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt5514.c +1 -1
@@ -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",
Signature · 1 line
2.1.4
於 一,2016-02-08 於 22:04 +0800,Axel Lin 提到:
Quoted 1 line
The equation to calculate
bclk_msis wrong, fix it.
Oops, I mis-understand the code.
Please ignore this patch, sorry.
Axel
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel