Axel Lin ad1937cdd5 ASoC: sta529: Fix update register bits in sta529_set_dai_fmt
Both the mask and mode settings are wrong in current code.

According to the datasheet:

S2PCFG0 (0x0A)
BIT[3:1] DATA_FORMAT
        serial interface protocol format:
        000: left Justified
        001: I2S (default)
        010: right justified
        100: PCM no delay
        101: PCM delay
        111: DSP

Thus fixes the defines for LEFT_J_DATA_FORMAT, I2S_DATA_FORMAT, and
RIGHT_J_DATA_FORMAT.
Also adds define for DATA_FORMAT_MSK.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
2012-12-20 16:01:26 +00:00
..
2012-12-10 00:31:51 +09:00
2011-08-17 00:53:54 +09:00
2011-06-16 11:24:17 +01:00
2011-06-28 17:11:20 +01:00
2011-05-19 14:10:45 -07:00
2012-08-06 15:20:35 +01:00
2012-04-30 23:36:20 +01:00
2012-09-25 13:52:42 +01:00
2012-06-11 20:23:55 +08:00
2012-12-10 00:31:51 +09:00
2008-11-17 11:45:39 +00:00
2011-03-11 12:01:44 +00:00
2012-11-21 13:31:29 +09:00
2012-04-01 11:28:24 +01:00
2012-05-18 16:42:20 +01:00
2011-09-21 15:52:23 +01:00
2011-11-29 12:01:23 +00:00
2012-05-13 13:32:54 +01:00
2011-03-31 11:26:23 -03:00
2012-01-26 16:07:55 +00:00
2012-06-23 12:11:47 +01:00
2012-07-11 11:00:26 +01:00
2010-11-24 11:33:12 +00:00
2010-11-06 11:35:39 -04:00
2010-09-30 13:32:21 -07:00
2011-07-15 23:39:53 +09:00
2010-09-15 16:11:24 +01:00
2012-11-28 17:36:23 +00:00
2012-10-28 17:38:15 +00:00