V4L/DVB (8350): gspca: Conform to v4l2 spec and mutex unlock fix.
authorJean-Francois Moine <moinejf@free.fr>
Sat, 12 Jul 2008 12:28:04 +0000 (09:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:26:09 +0000 (07:26 -0300)
commit5b77ae7776183d733ec86727bcc34c52a336afd6
treef7b71b30108e5397ad4e6277e7bb414c95e13df7
parent51fc8e3bc03aeddc557d3084d08425eb4cb8ed41
V4L/DVB (8350): gspca: Conform to v4l2 spec and mutex unlock fix.

gspca:    Empty the application queues on streamoff ioctl.
          streamon/off and qbuf ioctls may be done by any application.
          Don't handle MJPEG pixel format as JPEG.
                (thanks to Hans de Goede)
          Authorize reqbufs ioctl when streaming.
          Bad mutex unlock in poll() when streaming problem.
                (thanks to Mauro Carvalho Chehab)
          Don't handle 'webcam disconnected' in stream off.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/gspca/gspca.c