Re: [PATCH v3] ASoC: AMD: Fix race condition between register access

From: Mark Brown
Date: Mon Nov 05 2018 - 06:16:27 EST


On Wed, Oct 31, 2018 at 09:24:10PM +0000, Agrawal, Akshu wrote:

> +/* Lock to protect access to registers */
> +static DEFINE_SPINLOCK(lock);
> +

Why is this a global variable and not a part of the driver structure?
Is there some interaction between multiple instances?

Attachment: signature.asc
Description: PGP signature