From: Alan Young Date: Mon, 26 Jul 2010 19:27:32 +0000 (-0300) Subject: [media] hdpvr: remove unecessary sleep in buffer drain loop X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f33d61b149f6672d7784023cb464cf7a09e0d72;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] hdpvr: remove unecessary sleep in buffer drain loop Signed-off-by: Janne Grunau Signed-off-by: Mauro Carvalho Chehab --- 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) 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); }