diff options
author | Alexander Sverdlin <subaparts@yandex.ru> | 2011-03-07 17:30:36 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-09 13:08:36 (GMT) |
commit | 5cbf7e49de3276c82705fc303d305ce170793ef6 (patch) | |
tree | 7ce2eb217095f0df26bd030d00c9e1a6dc6f6233 /sound/soc/ep93xx/ep93xx-pcm.c | |
parent | 6d33cd771b779abd8faeaf63821c200ba36a63b1 (diff) | |
download | linux-fsl-qoriq-5cbf7e49de3276c82705fc303d305ce170793ef6.tar.xz |
ASoC: Improve EP93xx I2S clocks management.
Improve EP93xx I2S clocks management.
Some freqs values are set not exact as they requested for MCLK and
original code was not able to find divisors for SCLK and LRCLK.
This code just picks up nearest value from 3 possible variants.
This patch makes 44100 and 192000 rates working and fixes
capture function (by selecting SCLK/LRCLK=64 where possible).
All other rates should work as before.
Signed-off-by: Alexander Sverdlin <subaparts@yandex.ru>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/ep93xx/ep93xx-pcm.c')
0 files changed, 0 insertions, 0 deletions