ASoC: pxa-ssp.c fix clock/frame invert
authorDaniel Ribeiro <drwyrm@gmail.com>
Wed, 8 Apr 2009 13:51:24 +0000 (10:51 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 13 Apr 2009 12:23:03 +0000 (13:23 +0100)
commita820532002e70e3a06f1ea7133e9b02443d07382
treeebbbf3422c03e0608b2b56cdb76f06c84be25f80
parent6bbcb459cd50807511491ddf96bca1ef92006bf8
ASoC: pxa-ssp.c fix clock/frame invert

SCMODE(0): Data Driven (Falling), Data Sampled (Rising), Idle State (Low)
SCMODE(1): Data Driven (Rising), Data Sampled (Falling), Idle State (Low)
SCMODE(2): Data Driven (Rising), Data Sampled (Falling), Idle State (High)
SCMODE(3): Data Driven (Falling), Data Sampled (Rising), Idle State (High)

SCMODE(3) does not invert the clock polarity compared to the default SCMODE(0).

This patch also adds all possible NF/IF, NB/IB combinations to the DSP_A and
DSP_B modes.

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa-ssp.c