staging: bcm2835-audio: fix mutex definition without comment
authorAdrien Thierry <athierry@redhat.com>
Thu, 14 Apr 2022 18:16:21 +0000 (14:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 16:29:05 +0000 (18:29 +0200)
Fix issue reported by checkpatch:

CHECK: struct mutex definition without comment
FILE: drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c:14:

Signed-off-by: Adrien Thierry <athierry@redhat.com>
Link: https://lore.kernel.org/r/20220414181622.102049-5-athierry@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c

index d567a2e..e429b33 100644 (file)
@@ -11,7 +11,7 @@ struct bcm2835_audio_instance {
        struct device *dev;
        unsigned int service_handle;
        struct completion msg_avail_comp;
-       struct mutex vchi_mutex;
+       struct mutex vchi_mutex; /* Serialize vchiq access */
        struct bcm2835_alsa_stream *alsa_stream;
        int result;
        unsigned int max_packet;