aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJustin Chen <[email protected]>2022-10-05 14:30:13 -0700
committerVinod Koul <[email protected]>2022-11-05 13:12:55 +0530
commit32fb07f35675c4c3311ae370471ee1ae6cc3e694 (patch)
treee97719220dfbe0b81c19db682b44f44130f9d250 /tools/perf/scripts/python/sctop.py
parentc0a6c25283672facaa57cb3daad71c6586736312 (diff)
phy: usb: Improve port mode selection
Split port modes into two different variables. Supported port modes is what the hardware supports. While port mode is how the hardware is currently configured and can be dynamically changed through the sysfs. We initialize all supported port modes on init even though the port mode may not be selected because we cannot guarantee the downstream interface from the phy will be active or not. This also fixes an issue where port modes selected via sysfs were not being saved through suspend/resume. Signed-off-by: Justin Chen <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions