[alsa-devel] [PATCH] ASoC: ti: davinci-mcasp: Protect hw_params callback against race

Mark Brown broonie at kernel.org
Mon Aug 12 15:01:07 CEST 2019


On Mon, Aug 12, 2019 at 03:56:11PM +0300, Peter Ujfalusi wrote:
> On 12/08/2019 14.57, Mark Brown wrote:
> > On Mon, Aug 12, 2019 at 02:46:33PM +0300, Peter Ujfalusi wrote:

> >> to card level could substitute (new mutex on the card for pcm operations
> >> probably) the need to handle this in drivers.

> >> We would need to change soc-core/pcm/compress for this.

> > Yeah, it'd be a reasonably substantial change.

> OK, works fine on several boards, I'll send a patch tomorrow after a bit
> more testing.

Ah, excellent, thanks for that!  That was more of a "we should do this"
thing than a "do this instead" thing but obviously fixing more systems
is even better so please don't let me stop you.  Only sending applied
mails when I push things out solves one set of problems but does make
for other races :/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190812/6aa3504e/attachment.sig>


More information about the Alsa-devel mailing list