diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-04-28 14:54:51 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-21 02:04:11 +0400 |
commit | 504894799fa122822f5c48be2968e04d3f1af8e8 (patch) | |
tree | 4f08cd5caac44b0a9e6b6317a23607521be15778 /sound/soc/fsl/fsl_ssi.h | |
parent | 171d683d2ac4ab6f220cc99de08ef9ec2c039966 (diff) | |
download | linux-504894799fa122822f5c48be2968e04d3f1af8e8.tar.xz |
ASoC: fsl-ssi: Transmit enable synchronization
When the fsl-ssi unit is used in i2s slave mode, it is possible that the
SSI unit starts transmitting data on the wrong channel. This happens
because the SSI does not synchronize with the left-right-clock by
default.
This patch enables transmit enable synchronization.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Tested-By: Michael Grzeschik <mgr@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.h')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_ssi.h b/sound/soc/fsl/fsl_ssi.h index 2e95dd7a2105..71c3e7e4340d 100644 --- a/sound/soc/fsl/fsl_ssi.h +++ b/sound/soc/fsl/fsl_ssi.h @@ -39,6 +39,7 @@ struct ccsr_ssi { __be32 saccdis; /* 0x.0058 - SSI AC97 Channel Disable Register */ }; +#define CCSR_SSI_SCR_SYNC_TX_FS 0x00001000 #define CCSR_SSI_SCR_RFR_CLK_DIS 0x00000800 #define CCSR_SSI_SCR_TFR_CLK_DIS 0x00000400 #define CCSR_SSI_SCR_TCH_EN 0x00000100 |