[Sound-open-firmware] [PATCH] cnl: ssp: revert hardcoding TFT and RFT

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Mar 21 10:49:20 CET 2018


From: Tomasz Lauda <tomasz.lauda at linux.intel.com>

This patch reverts hardcoding TFT and RFT values to 8.
They are now properly calculated below.

Signed-off-by: Tomasz Lauda <tomasz.lauda at linux.intel.com>
---
 src/drivers/apl-ssp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drivers/apl-ssp.c b/src/drivers/apl-ssp.c
index 81fe96c4..c26f2a01 100644
--- a/src/drivers/apl-ssp.c
+++ b/src/drivers/apl-ssp.c
@@ -144,7 +144,7 @@ static inline int ssp_set_config(struct dai *dai,
 	sscr2 = SSCR2_SDFD | SSCR2_TURM1;
 
 	/* sscr3 dynamic settings are TFT, RFT */
-	sscr3 = SSCR3_TX(8) | SSCR3_RX(8);
+	sscr3 = 0;
 
 	/* sspsp dynamic settings are SCMODE, SFRMP, DMYSTRT, SFRMWDTH */
 	sspsp = 0;
-- 
2.14.1



More information about the Sound-open-firmware mailing list