summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-06-26 23:01:31 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-04 07:56:39 -0300
commit5674ca257c6b1553005d5a9d9b8f514c53591203 (patch)
treeeb801a4b8f599dab48e6cef08ff37e684b72300d /drivers/media/dvb
parentb62fd172ff1da93a0c720639e1f64f2a4282f943 (diff)
downloadlinux-stable-5674ca257c6b1553005d5a9d9b8f514c53591203.tar.gz
linux-stable-5674ca257c6b1553005d5a9d9b8f514c53591203.tar.bz2
linux-stable-5674ca257c6b1553005d5a9d9b8f514c53591203.zip
[media] dvb_usb_v2: remove usb_clear_halt() from stream
It works no longer as it was designed since we can change streaming configuration during device operation. Maybe it should be performed conditionally on cases when streaming endpoint is changed. Anyhow, let it out now and add later if needed. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-usb/usb_urb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/usb_urb.c b/drivers/media/dvb/dvb-usb/usb_urb.c
index c5e2ff0ca3fb..eaf673a3978d 100644
--- a/drivers/media/dvb/dvb-usb/usb_urb.c
+++ b/drivers/media/dvb/dvb-usb/usb_urb.c
@@ -319,9 +319,6 @@ int usb_urb_initv2(struct usb_data_stream *stream,
memcpy(&stream->props, props, sizeof(*props));
- usb_clear_halt(stream->udev, usb_rcvbulkpipe(stream->udev,
- stream->props.endpoint));
-
if (!stream->complete) {
dev_err(&stream->udev->dev, "%s: there is no data callback - " \
"this doesn't make sense\n", KBUILD_MODNAME);