lkml.org 
[lkml]   [2022]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ASoC: amd: acp: Initialize list to store acp_stream during pcm_open
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-07-28 13:15    [W:0.033 / U:1.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site