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

Peter Ujfalusi peter.ujfalusi at ti.com
Mon Aug 12 14:56:11 CEST 2019



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.

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


More information about the Alsa-devel mailing list