diff options
author | Axel Lin <[email protected]> | 2012-12-20 16:17:25 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-12-20 16:01:26 +0000 |
commit | ad1937cdd59c412097ec2bb8f38c12a5640f1f9a (patch) | |
tree | cfcee204f527b2132f49b82cd264b36e8a58f69f /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | 8246b5b03ef4ab6f29ad8edad859c74b124323cb (diff) |
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 <[email protected]>
Acked-by: Rajeev Kumar <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions