staging: wilc1000: added comments for 'hif_cs' mutex lock
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 29 Jul 2018 06:06:54 +0000 (11:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 07:35:05 +0000 (09:35 +0200)
Added comments for 'hif_cs' mutex to avoid checkpatch.pl reported
issues.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.h

index 371a87f..a0e2e11 100644 (file)
@@ -130,6 +130,7 @@ struct wilc {
        spinlock_t txq_spinlock;
        /*protect rxq_entry_t receiver queue*/
        struct mutex rxq_cs;
+       /* lock to protect hif access */
        struct mutex hif_cs;
 
        struct completion cfg_event;