[Sound-open-firmware] [PATCH] ssp: set SSP FIFO levels for playback/capture

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Sep 20 15:58:08 CEST 2017


Configure FIFO levels. TODO add to topology.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/drivers/ssp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drivers/ssp.c b/src/drivers/ssp.c
index 547c91c..efd7a9a 100644
--- a/src/drivers/ssp.c
+++ b/src/drivers/ssp.c
@@ -249,7 +249,7 @@ static inline int ssp_set_config(struct dai *dai,
 		sscr0 |= SSCR0_DSIZE(data_size);
 
 	/* watermarks - (RFT + 1) should equal DMA SRC_MSIZE */
-	sfifott = (SFIFOTT_TX(8) | SFIFOTT_RX(8));
+	sfifott = (SFIFOTT_TX(4) | SFIFOTT_RX(12));
 
 	trace_ssp("coe");
 	ssp_write(dai, SSCR0, sscr0);
-- 
2.11.0



More information about the Sound-open-firmware mailing list