]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
usb: gadget: f_fs: Fix ExtCompat descriptor validation
authorVincent Pelletier <plr.vincent@gmail.com>
Thu, 15 Dec 2016 12:47:42 +0000 (12:47 +0000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 2 Jan 2017 08:55:28 +0000 (10:55 +0200)
commit354bc45bf329494ef6051f3229ef50b9e2a7ea2a
treeaec8dd1d0c4c241f1dcb9fb6a291b93cc6935665
parent96a420d2d37cc019d0fbb95c9f0e965fa1080e1f
usb: gadget: f_fs: Fix ExtCompat descriptor validation

Reserved1 is documented as expected to be set to 0, but this test fails
when it it set to 0. Reverse the condition.

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_fs.c