[Sound-open-firmware] [PATCH] apl-ssp: fix padding bit issues in I2S/LEFT_J mode

Liam Girdwood liam.r.girdwood at linux.intel.com
Fri Apr 13 16:45:40 CEST 2018


On Thu, 2018-04-12 at 17:27 -0500, Pierre-Louis Bossart wrote:
> The current code doesn't work for I2S/LEFT_J when the slot width and
> number of valid bits don't match (e.g. 24 bit data in 32-bit slot).
> 
> In I2S/LEFT_J mode, the padding is not at the end of the frame but
> at the end of each slot, and is evenly distributed between the two
> left and right phases.
> 
> Fix by using DMYSTOP for I2S/LEFT_J, and only program SSPSP2 for DSP_A
> and DSP_B modes
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> ---
> 
all applied.

Thanks

Liam


More information about the Sound-open-firmware mailing list