Thread (18 messages) 18 messages, 2 authors, 2021-08-27

Re: [PATCH v3 05/14] ASoC: rockchip: i2s: Fix concurrency between tx/rx

From: Mark Brown <broonie@kernel.org>
Date: 2021-08-26 12:52:36
Also in: alsa-devel, linux-rockchip

On Thu, Aug 26, 2021 at 12:01:51PM +0800, Sugar Zhang wrote:
+/* tx/rx ctrl lock */
+static DEFINE_SPINLOCK(lock);
+
Why is this a global and not part of the driver data?  It's also not
clear to me why this is a spinlock and not a mutex.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help