[PATCH 2/2] ASoC: Intel: avs: Disconnect substream if suspend or resume fails

Cezary Rojewski cezary.rojewski at intel.com
Thu Nov 10 17:29:53 CET 2022


On 2022-11-10 5:18 PM, Pierre-Louis Bossart wrote:
> On 11/10/22 10:06, Cezary Rojewski wrote:

>> Unless something new has been added/updated, there is no runtime->state
>> field available. All the PCM code works with runtime->status->state.
> 
> cd sound/
> 
> git grep -c 'runtime->state'
> core/compress_offload.c:27

...

> git grep -c 'status->state'
> core/pcm_compat.c:2
> core/pcm_native.c:4

I see now, thanks. Commit from late September "ALSA: pcm: Avoid 
reference to status->state" add a new field. Will update the code to use 
__snd_pcm_set_state() instead.

My base did not have it yet.


More information about the Alsa-devel mailing list