thunderbolt: Enable TMU access when accessing port space on legacy devices
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 8 Jan 2019 16:55:09 +0000 (18:55 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:51 +0000 (11:18 +0300)
commit8b0110d9d10d211fc8a0e2cbb2db4533af30d36e
tree7a105d555bee929a43ef65d16374d378a3d72b6a
parentf0342e757c271e7c6dd5adedfb6e6695c5af52bf
thunderbolt: Enable TMU access when accessing port space on legacy devices

Light Ridge and Eagle Ridge both need to have TMU access enabled before
port space can be fully accessed so make sure it happens on those. This
allows us to get rid of the offset quirk in tb_port_find_cap().

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/cap.c
drivers/thunderbolt/tb.h