diff options
author | Bjorn Helgaas <[email protected]> | 2020-07-21 16:23:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-22 13:34:27 +0200 |
commit | ed86a9877d05b99088a409a7603828b818a433dc (patch) | |
tree | 436f0f9618360dd11ed87d858ea4292988fac325 /scripts/gdb/linux/lists.py | |
parent | 22bf3251d7b7da0339f41ec27f2c3d4e0ec02255 (diff) |
misc: rtsx: Find L1 PM Substates capability instead of hard-coding
Instead of hard-coding the location of the L1 PM Substates capability based
on the Device ID, search for it in the extended capabilities list. This
works for any device, as long as it implements the L1 PM Substates
capability correctly, so it doesn't require maintenance as new devices are
added. No functional change intended.
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ minor addition due to differences in my tree - gregkh]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions