ASoC: rl6231: avoid using divisible by 3 for DMIC clk
authorBard Liao <bardliao@realtek.com>
Tue, 10 Nov 2015 06:40:55 +0000 (14:40 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2015 18:58:19 +0000 (18:58 +0000)
commit2f64b6ed44c26eeb3d1bf5428936629cf552eda7
treeb04ad87ce6b7b8259ee047945b20f81e243b640c
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
ASoC: rl6231: avoid using divisible by 3 for DMIC clk

Few codecs will meet no DMIC clock output issue when select a divided
number which is divisible by 3. To prevent this issue, the patch ignore
the numbers when calculating the DMIC clock divider.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rl6231.c