]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
V4L/DVB (10620): gspca - main: More checks of the device disconnection.
authorJean-Francois Moine <moinejf@free.fr>
Thu, 12 Feb 2009 11:05:45 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:49 +0000 (12:42 -0300)
commit090264e508c20baa0c3eea5a7d8eea4db84a29cc
tree4c481782c5b78444f3b50f7507ce7ef9f2722706
parent10711d07c109a1b2b3245d68ada6aba5c8c59147
V4L/DVB (10620): gspca - main: More checks of the device disconnection.

- prevent application oops when the device is disconnected
- wake up the application at disconnection time
- check the disconnection in ioctl dqbuf and poll

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