]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: composite: Clear reserved fields of SSP Dev Cap
authorJohn Youn <johnyoun@synopsys.com>
Fri, 8 Apr 2016 21:46:31 +0000 (14:46 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Apr 2016 09:35:17 +0000 (12:35 +0300)
commit7a9b18df57f72556153d68e60a7b32fd29a8a1b2
tree381e6d2e3227eb118d5e392bd0505baf2efd2dd1
parent0b2ae9cd6e504d0f6c406655ebb9589e70455aa9
usb: gadget: composite: Clear reserved fields of SSP Dev Cap

Set the reserved fields of the SuperSpeed Plus Device Capability
descriptor to 0. Otherwise there might be stale data there which will
cause USB CV to fail.

Fixes: 274f604987ff ("usb: gadget: composite: Return SSP Dev Cap descriptor")
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/composite.c