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

Liam Girdwood liam.r.girdwood at intel.com
Sat Sep 23 17:12:30 CEST 2017


On Fri, 2017-09-22 at 16:53 -0500, Pierre-Louis Bossart wrote:
> 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;


Applied.

Thanks

Liam

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the Sound-open-firmware mailing list