aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-07-29 11:36:54 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 09:35:05 +0200
commit97ed6d34e31275fef331c6520cc9b983b678d334 (patch)
tree066fa201b89d253d418d368ff7977f102ce15650 /drivers/staging/wilc1000
parentstaging: wilc1000: modified debug log messages description (diff)
downloadlinux-dev-97ed6d34e31275fef331c6520cc9b983b678d334.tar.xz
linux-dev-97ed6d34e31275fef331c6520cc9b983b678d334.zip
staging: wilc1000: added comments for 'hif_cs' mutex lock
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>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index 371a87fbf26b..a0e2e11c1c39 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -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;