diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-03-12 18:40:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-13 15:04:47 +0000 |
commit | 2b13bee3884926cba22061efa75bd315e871de24 (patch) | |
tree | c2d974a907e1e4b4add746f3590c47af5b6ec437 /include/linux/page-flags.h | |
parent | 54d1cf78b0f4ba348a7c7fb8b7d0708d71b6cc8a (diff) | |
download | linux-stable-2b13bee3884926cba22061efa75bd315e871de24.tar.gz linux-stable-2b13bee3884926cba22061efa75bd315e871de24.tar.bz2 linux-stable-2b13bee3884926cba22061efa75bd315e871de24.zip |
ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
After commit fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate
handling") the audio root clock frequency is configured improperly for
44100 sample rate. Due to clock rate rounding it's 20070401 Hz instead
of 22579000 Hz. This results in a too low value of the PSR clock divider
in the CPU DAI driver and too fast actual sample rate for fs=44100. E.g.
1 kHz tone has actual 1780 Hz frequency (1 kHz * 20070401/22579000 * 2).
Fix this by increasing the correction passed to clk_set_rate() to take
into account inaccuracy of the EPLL frequency properly.
Fixes: fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate handling")
Reported-by: JaeChul Lee <jcsing.lee@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/page-flags.h')
0 files changed, 0 insertions, 0 deletions