]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] hdpvr: remove unecessary sleep in buffer drain loop
authorAlan Young <ayoung@teleport.com>
Mon, 26 Jul 2010 19:27:32 +0000 (16:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:56:02 +0000 (07:56 -0200)
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/hdpvr/hdpvr-video.c

index 93f795960a9478d0efaa327259ea321be96780d7..761d7c5764d0aecda069d6b18c4928a25e2f7c26 100644 (file)
@@ -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);
        }