aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-04-27 03:06:49 -0400
committerMark Brown <broonie@kernel.org>2016-04-27 09:47:41 -0400
commit80833ff0eea693d8e0c3305a869159a64141fdad (patch)
tree35d00ebf44188bea0a517cc03ae67c9b01bc8316
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
ASoC: atmel_ssc_dai: read DSP mode A data on rising edges of bclk
Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/atmel/atmel_ssc_dai.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 276897033639..1267e1af0fae 100644
--- a/sound/soc/atmel/atmel_ssc_dai.c
+++ b/sound/soc/atmel/atmel_ssc_dai.c
@@ -652,7 +652,7 @@ static int atmel_ssc_hw_params(struct snd_pcm_substream *substream,
652 rcmr = SSC_BF(RCMR_PERIOD, ssc_p->rcmr_period) 652 rcmr = SSC_BF(RCMR_PERIOD, ssc_p->rcmr_period)
653 | SSC_BF(RCMR_STTDLY, 1) 653 | SSC_BF(RCMR_STTDLY, 1)
654 | SSC_BF(RCMR_START, SSC_START_RISING_RF) 654 | SSC_BF(RCMR_START, SSC_START_RISING_RF)
655 | SSC_BF(RCMR_CKI, SSC_CKI_FALLING) 655 | SSC_BF(RCMR_CKI, SSC_CKI_RISING)
656 | SSC_BF(RCMR_CKO, SSC_CKO_NONE) 656 | SSC_BF(RCMR_CKO, SSC_CKO_NONE)
657 | SSC_BF(RCMR_CKS, SSC_CKS_DIV); 657 | SSC_BF(RCMR_CKS, SSC_CKS_DIV);
658 658
@@ -692,7 +692,7 @@ static int atmel_ssc_hw_params(struct snd_pcm_substream *substream,
692 rcmr = SSC_BF(RCMR_PERIOD, 0) 692 rcmr = SSC_BF(RCMR_PERIOD, 0)
693 | SSC_BF(RCMR_STTDLY, START_DELAY) 693 | SSC_BF(RCMR_STTDLY, START_DELAY)
694 | SSC_BF(RCMR_START, SSC_START_RISING_RF) 694 | SSC_BF(RCMR_START, SSC_START_RISING_RF)
695 | SSC_BF(RCMR_CKI, SSC_CKI_FALLING) 695 | SSC_BF(RCMR_CKI, SSC_CKI_RISING)
696 | SSC_BF(RCMR_CKO, SSC_CKO_NONE) 696 | SSC_BF(RCMR_CKO, SSC_CKO_NONE)
697 | SSC_BF(RCMR_CKS, ssc->clk_from_rk_pin ? 697 | SSC_BF(RCMR_CKS, ssc->clk_from_rk_pin ?
698 SSC_CKS_PIN : SSC_CKS_CLOCK); 698 SSC_CKS_PIN : SSC_CKS_CLOCK);