mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
[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>
This commit is contained in:
parent
8df787daef
commit
1f33d61b14
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user