Commit 9d154e42 authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mark Brown

ASoC: samsung: odroid: Fix EPLL frequency values

To prevent incorrect setting of the EPLL the clock frequency
values are changed to exact values as possible to obtain on
the EPLL output with given PLL coefficients.
This patch is required after recent change of the EPLL rate
table by patch
"clk: samsung: exynos5420: The EPLL rate table corrections".
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5771a8c0
...@@ -42,17 +42,17 @@ static int odroid_card_hw_params(struct snd_pcm_substream *substream, ...@@ -42,17 +42,17 @@ static int odroid_card_hw_params(struct snd_pcm_substream *substream,
switch (params_rate(params)) { switch (params_rate(params)) {
case 32000: case 32000:
case 64000: case 64000:
pll_freq = 131072000U; pll_freq = 131072006U;
break; break;
case 44100: case 44100:
case 88200: case 88200:
case 176400: case 176400:
pll_freq = 180633600U; pll_freq = 180633609U;
break; break;
case 48000: case 48000:
case 96000: case 96000:
case 192000: case 192000:
pll_freq = 196608000U; pll_freq = 196608001U;
break; break;
default: default:
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment