[Sound-open-firmware] [PATCH] ssp: add missing break in dai format switch

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Sep 22 23:53:17 CEST 2017


Support for DSP_A is obviously broken.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
---
 src/drivers/ssp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/drivers/ssp.c b/src/drivers/ssp.c
index c97b60e..a472974 100644
--- a/src/drivers/ssp.c
+++ b/src/drivers/ssp.c
@@ -224,6 +224,7 @@ static inline int ssp_set_config(struct dai *dai,
 		sscr0 |= SSCR0_PSP | SSCR0_MOD | SSCR0_FRDC(config->num_slots);
 		sscr1 |= SSCR1_TRAIL;
 		sspsp |= SSPSP_SFRMWDTH(1) | SSPSP_SFRMDLY(2);
+		break;
 	case SOF_DAI_FMT_DSP_B:
 		sscr0 |= SSCR0_PSP | SSCR0_MOD | SSCR0_FRDC(config->num_slots);
 		sscr1 |= SSCR1_TRAIL;
-- 
2.11.0



More information about the Sound-open-firmware mailing list