[alsa-devel] [PATCH v3] ASoC: AMD: Fix race condition between register access
Mark Brown
broonie at kernel.org
Mon Nov 5 12:15:57 CET 2018
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20181105/846d23a9/attachment.sig>
More information about the Alsa-devel
mailing list