12 Aug
2019
12 Aug
'19
1:13 p.m.
On Mon, Aug 12, 2019 at 12:53:04PM +0300, Peter Ujfalusi wrote:
If the playback and capture of the same McASP is connected to different dai link (non duplex PCM links, like with pcm3168a codec) then there is a high probability of race between the two direction leaving McASP in a confused state.
Protect the hw_params() with a mutex to make sure that this is not happening.
This feels like something we might want to consider moving up to the core, though not every device is going to need it I guess it should be safe to do there.