Browse Source

[media] hdpvr: remove unecessary sleep in buffer drain loop

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Alan Young 15 years ago
parent
commit
1f33d61b14
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/media/video/hdpvr/hdpvr-video.c

+ 0 - 2
drivers/media/video/hdpvr/hdpvr-video.c

@@ -338,8 +338,6 @@ static int hdpvr_stop_streaming(struct hdpvr_device *dev)
 					     dev->bulk_in_endpointAddr),
 			     buf, dev->bulk_in_size, &actual_length,
 			     BULK_URB_TIMEOUT)) {
-		/* wait */
-		msleep(5);
 		v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev,
 			 "%2d: got %d bytes\n", c, actual_length);
 	}