diff options
author | Alex Woods <devnull@localhost> | 2003-06-03 18:35:21 +0000 |
---|---|---|
committer | Alex Woods <devnull@localhost> | 2003-06-03 18:35:21 +0000 |
commit | e79f613b8fc0492ffaeb688447a17513eea755e5 (patch) | |
tree | cd2df7f0eb5b477b48b767960a85154300c1b52f /linux/drivers | |
parent | c63cacdc5511a98ffb6495b40eb389811c00535d (diff) | |
download | mediapointer-dvb-s2-e79f613b8fc0492ffaeb688447a17513eea755e5.tar.gz mediapointer-dvb-s2-e79f613b8fc0492ffaeb688447a17513eea755e5.tar.bz2 |
Rollback
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c index 63cf6251a..1e9d8ddc6 100644 --- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c @@ -520,7 +520,6 @@ ttusb_dec_stop_iso_xfer(struct ttusb_dec * dec) { int i; - u8 b0[] = { 0x00 }; dprintk("%s\n", __FUNCTION__); @@ -531,16 +530,17 @@ ttusb_dec_stop_iso_xfer(struct ttusb_dec * dec) if (!dec->iso_stream_count) { + u8 b0[] = { 0x00 }; + for (i = 0; i < ISO_BUF_COUNT; i++) usb_unlink_urb(dec->iso_urb[i]); + ttusb_dec_send_command(dec, 0x81, sizeof (b0), b0, NULL, NULL); + } up(&dec->iso_sem); - if (!dec->iso_stream_count) - ttusb_dec_send_command(dec, 0x81, sizeof (b0), b0, NULL, NULL); - } static int |