]> git.baikalelectronics.ru Git - kernel.git/commit
media: uvcvideo: Fix incorrect timeout for Get Request
authorJim Lin <jilin@nvidia.com>
Tue, 8 Aug 2017 12:56:20 +0000 (08:56 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:08:07 +0000 (08:08 -0400)
commit9b9d5a944a342838e42f9a7d06c6d10b619c0edc
tree2cc92b2dd254fe1f627f4e504d512d03f8ced209
parent505369d519f2dfab8cc410e6ae21d9cec6c15854
media: uvcvideo: Fix incorrect timeout for Get Request

Section 9.2.6.4 of USB 2.0/3.x specification describes that
"device must be able to return the first data packet to host within
500 ms of receipt of the request. For subsequent data packet, if any,
the device must be able to return them within 500 ms".

This is to fix incorrect timeout and change it from 300 ms to 500 ms
to meet the timing specified by specification for Get Request.

Signed-off-by: Jim Lin <jilin@nvidia.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvcvideo.h