[media] dvb_usb_v2: call streaming_ctrl() before kill urbs
authorAntti Palosaari <crope@iki.fi>
Tue, 11 Sep 2012 01:04:43 +0000 (22:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Sep 2012 18:14:08 +0000 (15:14 -0300)
commit0fe688f1383917ab90747fc41e11b393f33c97e8
tree8e4597783c2319bc73e09eccf3c8ae5a542af932
parent6332059e8d4e05ea0e7c813a50f1243dd17dffc0
[media] dvb_usb_v2: call streaming_ctrl() before kill urbs

Logically it is better ask hardware to stop streaming before
killing urbs carrying stream. Earlier it was just opposite.
Now code runs:
* submit urbs
* start streaming
** streaming ongoing **
* stop streaming
* kill urbs

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c