usb: dwc3: gadget: Set lpm_capable
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Thu, 25 Apr 2019 21:28:24 +0000 (14:28 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:49 +0000 (09:13 +0300)
commitc729969b2b692ce3ed362e60d38391e7671758ff
treeb4456199d0618146bb0c96d46449e84ced7e72d8
parent8f6707bf2b2580810ebc96a535ed04e3aff6c9e4
usb: dwc3: gadget: Set lpm_capable

All DWC3 controllers are LPM capable. Report that in the
usb_gadget.lpm_capable for the gadget driver to properly output the
bcdUSB value in the descriptor.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c