diff options
author | Adam Baker <linux@baker-net.org.uk> | 2009-02-04 15:33:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-17 09:43:09 -0300 |
commit | ad28127d7c7c617bca1d426f95b6ffa1fb8f700f (patch) | |
tree | 1cdc54428ff54a316d212c7beeb13791cdac248b /drivers/firewire | |
parent | 28100165c3f27f681fee8b60e4e44f64a739c454 (diff) | |
download | blackbird-op-linux-ad28127d7c7c617bca1d426f95b6ffa1fb8f700f.tar.gz blackbird-op-linux-ad28127d7c7c617bca1d426f95b6ffa1fb8f700f.zip |
V4L/DVB (10619): gspca - main: Destroy the URBs at disconnection time.
If a device using the gspca framework is unplugged while it is still streaming
then the call that is used to free the URBs that have been allocated occurs
after the pointer it uses becomes invalid at the end of gspca_disconnect.
Make another cleanup call in gspca_disconnect while the pointer is still
valid (multiple calls are OK as destroy_urbs checks for pointers already
being NULL.
Signed-off-by: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions