aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Young <ayoung@teleport.com>2010-07-26 15:27:32 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 05:56:02 -0400
commit1f33d61b149f6672d7784023cb464cf7a09e0d72 (patch)
treec856cdb9b3ce4b81fda9f31162513ff22593fb2f
parent8df787daefb781ca46a5ede3743ac78be897ec57 (diff)
[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>
-rw-r--r--drivers/media/video/hdpvr/hdpvr-video.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr-video.c b/drivers/media/video/hdpvr/hdpvr-video.c
index 93f795960a94..761d7c5764d0 100644
--- a/drivers/media/video/hdpvr/hdpvr-video.c
+++ b/drivers/media/video/hdpvr/hdpvr-video.c
@@ -338,8 +338,6 @@ static int hdpvr_stop_streaming(struct hdpvr_device *dev)
338 dev->bulk_in_endpointAddr), 338 dev->bulk_in_endpointAddr),
339 buf, dev->bulk_in_size, &actual_length, 339 buf, dev->bulk_in_size, &actual_length,
340 BULK_URB_TIMEOUT)) { 340 BULK_URB_TIMEOUT)) {
341 /* wait */
342 msleep(5);
343 v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, 341 v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev,
344 "%2d: got %d bytes\n", c, actual_length); 342 "%2d: got %d bytes\n", c, actual_length);
345 } 343 }