Home
last modified time | relevance | path

Searched hist:"89 e47f62cf3eea7ad5e3d7d72ea846be37d6e352" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/fsl/
H A Dfsl_esai.cdiff 89e47f62cf3eea7ad5e3d7d72ea846be37d6e352 Tue May 06 03:55:59 CDT 2014 Nicolin Chen <Guangyu.Chen@freescale.com> ASoC: fsl_esai: Fix incorrect condition within ratio range check for FP

The range here from 1 to 16 is confined to FP divider only while the
sck_div indicates if the calculation contains PSR and PM dividers. So
for the case using PSR and PM since the sck_div is true, the range of
ratio would simply become bigger than 16.

So this patch fixes the condition here and adds one line comments to
make the purpose here clear.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>