Message ID | 1407136045-8940-1-git-send-email-nicoleotsuka@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | af96ff5b7448dc776dc24a5c4313c6ec1ee94e53 |
Headers | show |
On Mon, Aug 04, 2014 at 03:07:25PM +0800, Nicolin Chen wrote: > From: Nicolin Chen <Guangyu.Chen@freescale.com> > > There is one design rule according to SAI's reference manual: > If the transmitter bit clock and frame sync are to be used by both transmitter > and receiver, the transmitter must be configured for asynchronous operation > and the receiver for synchronous operation. Applied, thanks.
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index faa0497..9f10575 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -333,8 +333,7 @@ static int fsl_sai_trigger(struct snd_pcm_substream *substream, int cmd, * The transmitter bit clock and frame sync are to be * used by both the transmitter and receiver. */ - regmap_update_bits(sai->regmap, FSL_SAI_TCR2, FSL_SAI_CR2_SYNC, - ~FSL_SAI_CR2_SYNC); + regmap_update_bits(sai->regmap, FSL_SAI_TCR2, FSL_SAI_CR2_SYNC, 0); regmap_update_bits(sai->regmap, FSL_SAI_RCR2, FSL_SAI_CR2_SYNC, FSL_SAI_CR2_SYNC);