]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mcasp: don't override bclk divider if it was provided by the machine
authorDaniel Mack <zonque@gmail.com>
Wed, 16 Jul 2014 12:04:41 +0000 (14:04 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 16 Jul 2014 21:15:15 +0000 (22:15 +0100)
commit1cd2ac8b5908f9d5814aaca2aa15cfea917fd3b0
treeba85d477bfedb1fbc91f56229cb8afdeb4ba22c9
parent5a444c1119255272fcafbf56c42bec44e3d62a2d
ASoC: mcasp: don't override bclk divider if it was provided by the machine

If a machine driver provides an BCLK divider to the McASP driver, skip the
automatic calculation.

This fixes machines on which the physical sample transport always works
in 32 bits, even though not all of them are actually used.
snd_soc_params_to_bclk() will fail to address such cases properly.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/davinci/davinci-mcasp.c