summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/sn9c102/sn9c102_ov7660.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-02-04 19:33:21 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-02-04 19:33:21 +0100
commite086109f0cad2b76f5a32cf18db838e2026712bb (patch)
tree2b45fb7d040e4e4c179ae9fc9af323aa414188de /linux/drivers/media/video/sn9c102/sn9c102_ov7660.c
parentc1d676109e87244212120f7ba938d67c3d0571a0 (diff)
downloadmediapointer-dvb-s2-e086109f0cad2b76f5a32cf18db838e2026712bb.tar.gz
mediapointer-dvb-s2-e086109f0cad2b76f5a32cf18db838e2026712bb.tar.bz2
gspca - main: Destroy the URBs at disconnection time.
From: Adam Baker <linux@baker-net.org.uk> 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. Priority: high Signed-off-by: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/sn9c102/sn9c102_ov7660.c')
0 files changed, 0 insertions, 0 deletions