ASoC: es7134: check if mclk rate is valid
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 29 Jun 2018 15:09:21 +0000 (17:09 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 2 Jul 2018 10:07:26 +0000 (11:07 +0100)
commita016b11cc41df06b79c0c226e719d0d88373919c
tree91ea8dbb2326f425db4e14a931652c77c75ba787
parent5650729f9a1bbf65b57139d855dabe0a7e6cb494
ASoC: es7134: check if mclk rate is valid

For each supported sample rate, the es7134 can work with several
mclk / sample rate ratio. Check if ratio we get is actually OK.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es7134.c