ASoC: Fix DSP formats in SSM2602 audio codec
authorJarkko Nikula <jarkko.nikula@nokia.com>
Mon, 22 Dec 2008 08:57:33 +0000 (10:57 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Dec 2008 16:23:22 +0000 (16:23 +0000)
commitc69134858722977a82f58cae88e7ffdb28e1e858
tree5e26d489cbb48a7f5779ed2edcdaabaaba5ec3cd
parentbd25867a6cbe7a00ef7dbe8d9ddebc91b00b9b3f
ASoC: Fix DSP formats in SSM2602 audio codec

Thanks to Troy Kisky <troy.kisky@boundarydevices.com> for noticing.

- DSP_A format has 1-bit data delay which corresponds to SSM6202 submode 2
- DSP_B has 0-bit data delay which corresponds to submode 1
- Currently driver sets them opposite so swap the submode setting

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ssm2602.c