]> git.karo-electronics.de Git - karo-tx-linux.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)
commitc90c0d7a96e634a73ef1580f1d20993606545647
treede70856609478555ff8ff19e6076d23ae22080dc
parentd4e4ab86bcba5a72779c43dc1459f71fea3d89c8
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