[media] dvb_usb_v2: remove usb_clear_halt() from stream
authorAntti Palosaari <crope@iki.fi>
Wed, 27 Jun 2012 02:01:31 +0000 (23:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:39 +0000 (07:56 -0300)
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>
drivers/media/dvb/dvb-usb/usb_urb.c

index c5e2ff0ca3fbb258de4f30bbfd8f145af5edcc40..eaf673a3978d335221b16c17f4eae5a9221c80e7 100644 (file)
@@ -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);
This page took 0.026299 seconds and 5 git commands to generate.