[PATCH 02/16] ASoC: soc-component: use io_mutex correctly

Kai Vehmanen kai.vehmanen at linux.intel.com
Mon Jun 22 14:44:33 CEST 2020


Hey,

On Tue, 16 Jun 2020, Kuninori Morimoto wrote:

> component has io_mutex, but it had been used at
> snd_soc_component_update_bits_legacy() only which does read and write.

this is quite interesting. I wonder as regmap does its own locking, should
io_mutex only be used on the non-regmap paths? The patch looks correct 
though, holding the mutex only in update_bits won't help when write is 
without locks.

Br, Kai


More information about the Alsa-devel mailing list