[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZfHuokO3pQXMOxcC@ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx>
Date: Wed, 13 Mar 2024 23:51:22 +0530
From: Ayush Tiwari <ayushtiw0110@...il.com>
To: Larry.Finger@...inger.net, florian.c.schilhabel@...glemail.com,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-staging@...ts.linux.dev
Cc: outreachy@...ts.linux.dev
Subject: [PATCH] staging: greybus: add comment for mutex
This patch adds descriptive comment to mutex within the struct
gbaudio_codec_info to clarify its intended use and to address
checkpatch checks.
Signed-off-by: Ayush Tiwari <ayushtiw0110@...il.com>
---
drivers/staging/greybus/audio_codec.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/greybus/audio_codec.h b/drivers/staging/greybus/audio_codec.h
index f3f7a7ec6be4..1f97d4fb16cd 100644
--- a/drivers/staging/greybus/audio_codec.h
+++ b/drivers/staging/greybus/audio_codec.h
@@ -71,6 +71,7 @@ struct gbaudio_codec_info {
/* to maintain runtime stream params for each DAI */
struct list_head dai_list;
struct mutex lock;
+ /* Lock to protect register access */
struct mutex register_mutex;
};
--
2.40.1
Powered by blists - more mailing lists