diff options
author | Loic Pefferkorn <loic@loicp.eu> | 2014-09-03 22:23:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-06 21:54:57 -0700 |
commit | 9b61f085eb63bf1a304d7be5fc175cf478848bf2 (patch) | |
tree | a2fa89ca081402d275175c49444dad9fb131759b /drivers | |
parent | 1977533a3f425cb9b7633d59e30459e048ce681f (diff) | |
download | linux-stable-9b61f085eb63bf1a304d7be5fc175cf478848bf2.tar.gz linux-stable-9b61f085eb63bf1a304d7be5fc175cf478848bf2.tar.bz2 linux-stable-9b61f085eb63bf1a304d7be5fc175cf478848bf2.zip |
staging: goldfish: document spinlock usage
Coding style: document spinlock usage
Signed-off-by: Loic Pefferkorn <loic@loicp.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/goldfish/goldfish_audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/goldfish/goldfish_audio.c b/drivers/staging/goldfish/goldfish_audio.c index 23a206d59790..b360d07564b1 100644 --- a/drivers/staging/goldfish/goldfish_audio.c +++ b/drivers/staging/goldfish/goldfish_audio.c @@ -36,6 +36,7 @@ MODULE_VERSION("1.0"); struct goldfish_audio { char __iomem *reg_base; int irq; + /* lock protects access to buffer_status and to device registers */ spinlock_t lock; wait_queue_head_t wait; |