[Sound-open-firmware] [PATCH v2] apl-ssp: fix capture double speed issue

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Mar 15 15:30:05 CET 2018


On Thu, 2018-03-15 at 20:01 +0800, Keyon Jie wrote:
> Previously TFT and RFT are set to 0s which means we are using
> threshold level 1, where interrupt asserts for every valid bits
> of each slot(e.g. for s16_le capture, interrupts assert for
> each 16 bits), but DMAC will treat it as notification of one
> full sample(e.g. 32 bits for s16_le stereo) and read those all
> bits, this will lead to capture with double speed at format
> s16_le stereo.
> 
> Here add handle for FIFO trigger Threshold level, set them to
> bytes for each full sample(active_slots * valid_bits / 8), and
> the issue is fixed.
> 
> Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
> 
Applied.

Thanks

Liam


More information about the Sound-open-firmware mailing list