]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: uvc: Add fix for UVC compliance test suite's assertion 6.1.25 failure
authorBhupesh Sharma <bhupesh.sharma@st.com>
Fri, 1 Mar 2013 19:46:29 +0000 (20:46 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:21 +0000 (11:18 +0200)
commit6247302507459f1d38fecb878318a51c0323c2ab
tree1ee79a5d5dd89957df969192ae0ff111a063c233
parent049d1752138f7e358af1c8388cf91387b8760fce
usb: gadget: uvc: Add fix for UVC compliance test suite's assertion 6.1.25 failure

As per the UVC compliance test suite's assertion 6.1.25, the `iFunction`
field of the Interface Association Descriptor (IAD) should the match the
`iInterface` field of the standard Video Control (VC) Interface Descriptor for
this Video Interface Collection (VIC).

This mandatory case is captured in section 3.11 of the
USB Video Class Compliance specification revision 1.1

This patch fixes this test assertion's failure and has been tested on
Linux FC16, WinXP, WIN7 and WIN8 High speed and Super Speed hosts
for successful enumeration.

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@st.com>
[Merged the association and control string descriptors]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_uvc.c