Commit 9b61f085 authored by Loic Pefferkorn's avatar Loic Pefferkorn Committed by Greg Kroah-Hartman

staging: goldfish: document spinlock usage

Coding style: document spinlock usage
Signed-off-by: default avatarLoic Pefferkorn <loic@loicp.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1977533a
...@@ -36,6 +36,7 @@ MODULE_VERSION("1.0"); ...@@ -36,6 +36,7 @@ MODULE_VERSION("1.0");
struct goldfish_audio { struct goldfish_audio {
char __iomem *reg_base; char __iomem *reg_base;
int irq; int irq;
/* lock protects access to buffer_status and to device registers */
spinlock_t lock; spinlock_t lock;
wait_queue_head_t wait; wait_queue_head_t wait;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment