Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5674ca25 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b62fd172
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);