]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] prevent dmesg warning in zr36067 driver
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Mon, 7 Nov 2005 09:00:22 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:47 +0000 (07:53 -0800)
commit8bc3efcfbf6521ec7bf3e5d969b31745fbd986f8
tree3558a51005787a2c56d56c95019dd889bd06fbbb
parent597a107b1d5587dc230dbbe3faeca242daed494e
[PATCH] prevent dmesg warning in zr36067 driver

Fix the warning "Debug: sleeping function called from invalid context at
include/asm/semaphore.h:102" that the zr36067 driver emits every time an
application using JPEG capture starts up (e.g.  mjpegtools' lavrec).

The warning is harmless, but clogs up the dmesg output.  This was logged as
bugzilla #5403.  (Thanks to Christian Casteyde for helping me in fixing
this long-standing annoyance.)

Signed-off-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/zoran_driver.c