Skip to content

Commit

Permalink
[media] dvb_usb_v2: remove usb_clear_halt() from stream
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Aug 4, 2012
1 parent b62fd17 commit 5674ca2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/dvb/dvb-usb/usb_urb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5674ca2

Please sign in to comment.