usb: gadget: composite: Access SSP Dev Cap fields properly
authorJohn Youn <johnyoun@synopsys.com>
Mon, 28 Mar 2016 23:12:24 +0000 (16:12 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 29 Mar 2016 10:25:57 +0000 (13:25 +0300)
commit08f8cabf715654634a0bae8bee7afea964c6c9cb
tree5721985bb9e9f67bfd9ae843bf6df15b1c135d95
parent38e58986e6fc14617f6361ec5178e5191e7ab5c1
usb: gadget: composite: Access SSP Dev Cap fields properly

Access multi-byte fields of the SSP Dev Cap descriptor using the correct
endianness.

Fixes: f228a8de242a ("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