2005-10-30 00:41:20

by Ronald S. Bultje

[permalink] [raw]
Subject: [PATCH / 2.6.14] prevent dmesg warning in zr36067 driver

Hi,

attached patch fixes 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 <[email protected]>

Cheers,
Ronald


Attachments:
p (594.00 B)