]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
[media] em28xx-dvb: stop URBs when stopping the streaming
authorGianluca Gennari <gennarone@gmail.com>
Thu, 22 Mar 2012 11:48:17 +0000 (08:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Apr 2012 18:46:35 +0000 (15:46 -0300)
commit5f5f147f638734c0739b663aa68a3ae03cdc682b
tree04951bcc15af31797c513db3b2c4913cdf6435c6
parent95faf82bd3ea607f8e1ca78930c49b71078266e6
[media] em28xx-dvb: stop URBs when stopping the streaming

Stop the URBs in em28xx_stop_streaming(), so that em28xx_irq_callback()
cannot be called after the streaming has stopped.

This should eliminate the crashes reported by Antti Palosaari and the warnings
reported by Andy Furniss.

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-core.c
drivers/media/video/em28xx/em28xx-dvb.c
drivers/media/video/em28xx/em28xx.h