OSDN Git Service

usb: gadget: Export recommended BESL values
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Tue, 20 Aug 2019 01:35:47 +0000 (18:35 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Aug 2019 10:04:59 +0000 (13:04 +0300)
commit05f0b20b67f4185cc0022e49de08e1b9b2dbeb36
tree3bf5df61001ae691cc2beba1ce9aeab8ef44d2fc
parentf1b19006f4c9e83c9e19c58102157ff1fdebca22
usb: gadget: Export recommended BESL values

Currently there's no option for the controller driver to report the
recommended Best Effort Service Latency (BESL) when operating with LPM
support. Add new fields in usb_dcd_config_params to export the
recommended baseline and deep BESL values for the function drivers to
set the proper BESL value in the BOS descriptor.

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