]> 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)
commit8f6ac18808eb88377e62a3ebee9edfb25d5fcb32
treede70856609478555ff8ff19e6076d23ae22080dc
parentd8cdf0447a4fa614a941194dc269393450daf519
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