]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rl6231: fix range of DMIC clock
authorJohn Lin <john.lin@realtek.com>
Mon, 16 Nov 2015 06:41:07 +0000 (14:41 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 13:17:01 +0000 (13:17 +0000)
commit5516fb0dd9aff4356013b1e5c8803b212f98fd73
tree4128e1ab1526bc2b7c9787f6abbbcd1ff13c096a
parent965e69956bb232e62613a0eed61c5b117aea0398
ASoC: rl6231: fix range of DMIC clock

The maximum DMIC clock rate is 3.072 MHz for most DMIC. And it will get better
performance in higher clock rate. If we set maximum to 3 MHz in driver, we will
get a clock rate which is not even close to 3 MHz.
For example, if DMIC clock source is 24.576 MHz, the DMIC clock will be about
1.5 MHz in current code. But it will be 3.072 MHz with this patch.

Signed-off-by: John Lin <john.lin@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rl6231.c