ASoC: pandora: fix CLKX polarity
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 17 Jun 2010 13:45:28 +0000 (16:45 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 21 Jun 2010 17:16:17 +0000 (18:16 +0100)
commit4b94dba029887effd8675164e782cb12889668b1
tree16d450fb9b134dff79f599aa5456bbfe98079b62
parent66517915e0954ee027b889f452511945f7a9f3ec
ASoC: pandora: fix CLKX polarity

After mass production started it was found that several boards exhibit
noise problems during sound playback. After some investigation it was
determined that CLKX polarity is set incorrectly, and even if most boards
can tolerate the wrong setting, there are some that don't.

Fix polarity setup in the board file. As the clock settings for input and
output now match, merge in and out functions and structures to simplify
code.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/omap/omap3pandora.c