]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: fix Tegra30 I2S capture parameter setup
authorStephen Warren <swarren@nvidia.com>
Wed, 14 Aug 2013 20:24:16 +0000 (14:24 -0600)
committerMark Brown <broonie@linaro.org>
Thu, 15 Aug 2013 10:07:53 +0000 (11:07 +0100)
commit5b10b3a7dd090485bd0ead060249b0e4956082db
treede70856609478555ff8ff19e6076d23ae22080dc
parente5b409e9bb5c0a59f3e007a87aa07957c673447f
ASoC: tegra: fix Tegra30 I2S capture parameter setup

The Tegra30 I2S driver was writing the AHUB interface parameters to the
playback path register rather than the capture path register. This
caused the capture parameters not to be configured at all, so if
capturing using non-HW-default parameters (e.g. 16-bit stereo rather
than 8-bit mono) the audio would be corrupted.

With this fixed, audio capture from an analog microphone works correctly
on the Cardhu board.

Cc: stable@vger.kernel.org
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/tegra/tegra30_i2s.c