diff options
author | John Youn <John.Youn@synopsys.com> | 2015-12-17 11:17:31 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-12-22 12:00:51 -0600 |
commit | 55e1040e424b59063da627fb580ec953f4c01de7 (patch) | |
tree | 3932f964fcb76a9924d640053ce47f8009c408ff /drivers/s390 | |
parent | 09c96980dc723462ed2eeacc945fed5bcb278f85 (diff) |
usb: dwc2: Improve handling of host and device hwparams
Adds separate functions to get the host and device specific hardware
parameters. The functions check whether the parameters need to be read
at all, depending on dr_mode, and forces the mode only if necessary.
This saves some delays during probe. This also adds two device mode
parameters that will be used by the gadget.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions