diff options
| author | Artur Petrosyan <[email protected]> | 2021-04-08 13:44:37 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-09 15:16:38 +0200 |
| commit | 9ce9e5ad17d6c7cf943c9d365e8e12d6759e01db (patch) | |
| tree | be26860acc78bf8556ef3d37eeea59eea4a14405 /tools/perf/scripts/python/flamegraph.py | |
| parent | be2b960e57154aadd18d57897fec2cae2eef137c (diff) | |
usb: dwc2: Add host partial power down functions
For host mode Partial Power Down entering and exiting
separate functions are needed to implement the logic.
Earlier the logic was implemented in one function. Which was
confusing the readability. Also both host and device implementations
were in the same function.
- Added host partial power down functions which must be called
by dwc2_enter_partial_power_down()/dwc2_exit_partial_power_down()
functions.
Added function names:
dwc2_host_enter_partial_power_down()
dwc2_host_exit_partial_power_down()
NOTE: There is a checkpatch "CHECK" warning on "udelay(100)".
The delay is needed to properly exit gadget Partial Power Down
A delay less than 100 doesn't work.
Acked-by: Minas Harutyunyan <[email protected]>
Signed-off-by: Artur Petrosyan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions