]> git.baikalelectronics.ru Git - 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)
commit339324103519bd99862cf9a9c662ad94d6803e44
treeaec8dd1d0c4c241f1dcb9fb6a291b93cc6935665
parentdb7b5608c3d6deb28e3aea6ba581928814b08c35
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