diff options
| author | Thierry Reding <[email protected]> | 2019-12-06 15:06:49 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-12-10 11:36:28 +0100 |
| commit | ecd0fbd12d0fb5ee030d97d5be44766552aba07c (patch) | |
| tree | e9392af94e3972f6282a77ff7ee260d934547b10 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 96d8f628f0b35e1c1d93340cd4d2cde1ed3b8d9f (diff) | |
usb: host: xhci-tegra: Reuse stored register base address
The base address of the XUSB controller's registers is already stored in
the HCD. Move assignment to the HCD fields to an earlier point so that
they can be reused in the tegra_xusb_config() function. This avoids the
need to pass the base address as an extra parameter, which in turn comes
in handy in subsequent patches that need to call this function from the
suspend/resume paths where these values are no longer readily available.
Based on work by JC Kuo <[email protected]>.
Signed-off-by: Thierry Reding <[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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions