diff options
| author | Mathias Nyman <[email protected]> | 2022-02-16 11:51:50 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-17 16:20:45 +0100 |
| commit | 5c2a380a5aa8c15985359904b6d47466528d2993 (patch) | |
| tree | f156ab04f51cd44f6090e9a724fbec8d14e0b02d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e1ec140f273e1e30cea7e6d5f50934d877232121 (diff) | |
xhci: Allocate separate command structures for each LPM command
Every lpm commmand, both for USB 2 and USB 3 devies used the same
xhci->lpm_command structure to change max exit latency.
xhci->lpm_command is only protected by a hcd->bandwidth mutex, which is
not enoungh as USB 2 and USB 3 devices are behind separate HCDs.
Simplify code and avoid unnecessary locking risks by allocating
separate command structures for each lpm command, just like with
all other commands.
Signed-off-by: Mathias Nyman <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions