V4L/DVB (12380): uvcvideo: Avoid flooding the kernel log with "unknown event type...
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sat, 1 Aug 2009 21:14:24 +0000 (18:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Aug 2009 23:39:05 +0000 (20:39 -0300)
commitbd0232c13419b7ce51e02942082ff6af231e0f84
treef5c973967dd5aaee6e00ec4852fe6c12380e10cd
parentd79cd8393ae85ebaf53a8fc93491eea96522d68e
V4L/DVB (12380): uvcvideo: Avoid flooding the kernel log with "unknown event type" messages

The iSight sends non-UVC status events through the interrupt endpoint. Those
invalid events are reported to the kernel log, resulting in a log flood.

Only log the events when the UVC_TRACE_STATUS flag is set.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_status.c