diff options
author | Sanjay R Mehta <[email protected]> | 2021-08-03 07:34:55 -0500 |
---|---|---|
committer | Mika Westerberg <[email protected]> | 2021-08-09 14:58:29 +0300 |
commit | fb7a89ad2f048489605611801d480c7bb9d03f94 (patch) | |
tree | e39013999e07667b51770de8b3dd4ce375cb6e6a /scripts/gdb/linux/vmalloc.py | |
parent | 7a1808f82a37d638ee6862175e8e5c5433fdd642 (diff) |
thunderbolt: Do not read control adapter config space
Adapter 0 is the control adapter and as per USB4 spec in section 2.2.6.2
control Adapters do not have an adapter configuration space.
For this reason skip reading adapter config space in tb_port_init() when
the port number is 0. This actually simplifies the rest of the function
as we don't need to check for the port->port == 0 anymore.
While there drop the extra empty line at the end of the function.
Signed-off-by: Basavaraj Natikar <[email protected]>
Signed-off-by: Sanjay R Mehta <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions