From: Antti Palosaari Date: Wed, 27 Jun 2012 02:01:31 +0000 (-0300) Subject: [media] dvb_usb_v2: remove usb_clear_halt() from stream X-Git-Tag: firefly_0821_release~3680^2~275^2~1612 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5674ca257c6b1553005d5a9d9b8f514c53591203;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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);