ASoC: max9867: Calculate LRCLK divider
authorLadislav Michl <ladis@linux-mips.org>
Tue, 4 Dec 2018 18:21:04 +0000 (19:21 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 7 Dec 2018 12:20:41 +0000 (12:20 +0000)
commit715ee1916b95bfd0773487397a0354ad9a4660e6
treeb233add57c48183eb94a05156ff7a4f12b9f7744
parent29f58ff06795a923407d011d4721eaf3e8d39acc
ASoC: max9867: Calculate LRCLK divider

Drop "Common NI Values Table" and calculate LRCLK divider, then
add allowed rate constraints based on master clock frequency.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c
sound/soc/codecs/max9867.h