Re: [PATCH v2] ASoC: amd: acp: Initialize list to store acp_stream during pcm_open

From: Mark Brown
Date: Thu Jul 28 2022 - 07:14:31 EST


On Thu, Jul 28, 2022 at 07:52:25AM +0000, Prasad, Prasad wrote:

> linked to multiple pcm device as we will have same dai->driver id
>
> or array index for multiple pcm open. Initialize new linked list
>
> stream_list to store opened pcm stream info dynamically.
>
>
>
> If an IRQ handler refers to the linked list, make sure that no list
>
> change will happen concurrently during the IRQ handling. It seems
>
> that you have no protection for it yet.
> Yes, linked list may changes concurrently during IRQ handling, we will use spin locks in the next version of patch.

Please fix your mail client to clearly identify quoted text, it's very
hard to read your mails since (among other things) it's hard to tell
what text you added.

Attachment: signature.asc
Description: PGP signature