diff options
author | Jim Lin <jilin@nvidia.com> | 2016-05-20 18:13:19 +0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-05-31 11:13:02 +0300 |
commit | 53642399aa71b7c3b15d0305dc54738c4222bb1e (patch) | |
tree | 576b380e34175adb1b6f9c0ec5008eb69c64f722 /include | |
parent | cc50dc28da9109d585416595fc23ebb2171f3b2f (diff) | |
download | op-kernel-dev-53642399aa71b7c3b15d0305dc54738c4222bb1e.zip op-kernel-dev-53642399aa71b7c3b15d0305dc54738c4222bb1e.tar.gz |
usb: gadget: f_fs: Fix wrong check on reserved1 of OS_DESC_EXT_COMPAT
Current __ffs_data_do_os_desc() of f_fs.c will check reserved1 field
of OS_DESC_EXT_COMPAT and return -EINVAL if it's 1.
But MS OS 1.0 Descriptors
http://msdn.microsoft.com/en-us/library/windows/hardware/gg463179.aspx
defines that field to be 1.
Signed-off-by: Jim Lin <jilin@nvidia.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions