summaryrefslogtreecommitdiff
path: root/net/llc
diff options
context:
space:
mode:
authorSanjay R Mehta <sanju.mehta@amd.com>2021-08-03 07:34:55 -0500
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-08-09 14:58:29 +0300
commitfb7a89ad2f048489605611801d480c7bb9d03f94 (patch)
treee39013999e07667b51770de8b3dd4ce375cb6e6a /net/llc
parent7a1808f82a37d638ee6862175e8e5c5433fdd642 (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 <Basavaraj.Natikar@amd.com> Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions