usb: gadget: composite: Set recommended BESL values
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Tue, 20 Aug 2019 01:36:12 +0000 (18:36 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Aug 2019 10:04:59 +0000 (13:04 +0300)
commitcca3854010c5aebf3a06be0de04f26c4f1ae5810
tree7b5fe59205bb30fa6df0d6cb1c174ca400d4a178
parent54fb5ba647f8f942e372dee45025bce4adc08c38
usb: gadget: composite: Set recommended BESL values

Set the recommended BESL deep and baseline values based on the gadget's
configuration parameters to the extended BOS descriptor. This feature
helps to optimize power savings by maximizing the opportunity for longer
L1 residency time.

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