The limitation that SSP sample format is always S32_LE
does not hold. There can be I2S codecs where 16bit sample
width is used and SSP FIFO will expect 16bit samples from
DMA.
Signed-off-by: Kai Vehmanen <email address hidden>
6e082f6...
by
Guennadi Liakhovetski <email address hidden>
No need to invalidate cache again - comp_new() already has done it.
Also document why we don't need to copy config_data[] and use
memcpy() directly instead of mailbox_hostbox_read() - we already have
a pointer and cached have been invalidated already.
c4c1a20...
by
Guennadi Liakhovetski <email address hidden>
copier: fix a wrong DAI device pointer
With IPC4 the top level component that receives trigger events is a
copier and not the associated with it DAI. We need to retrieve the
DAI device pointer for its timing parameters.
34f6d4f...
by
Guennadi Liakhovetski <email address hidden>
dai: protect common properties objects
Some DAI types share properties objects between playback and capture
directions and write to them and read from them with no locking. Add
a DAI spinlock to protect them.