diff options
author | Stefani Seibold <stefani@seibold.net> | 2009-12-21 14:37:33 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-22 14:17:57 -0800 |
commit | 7801edb0b8b66e83c13623b483bc2e846c007c9d (patch) | |
tree | e536d39689ca4e25145aeeb84abf7335162c34c8 /include/linux/async.h | |
parent | 86d4880313603810901f639ccb5c88ff13d4ad3c (diff) | |
download | op-kernel-dev-7801edb0b8b66e83c13623b483bc2e846c007c9d.zip op-kernel-dev-7801edb0b8b66e83c13623b483bc2e846c007c9d.tar.gz |
media video cx23888 driver: ported to new kfifo API
Fix the cx23888 driver to use the new kfifo API. Using kfifo_reset()
may result in a possible race conditions. This patch fixes it by using
a spinlock around the kfifo_reset() function.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Reviewed-by: Andy Walls <awalls@radix.net>
Acked-by: Andy Walls <awalls@radix.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/async.h')
0 files changed, 0 insertions, 0 deletions