thunderbolt: Rework Titan Ridge TMU objection disable function
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 26 May 2023 06:22:06 +0000 (09:22 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Jun 2023 09:07:22 +0000 (12:07 +0300)
commit701e73a823bb887be1aabebf1ffaba068d329550
treeaf9e95bc085f71564e29517a5382889026d7eefe
parent826f55d50de95572661ab4508d6aa0649a60627b
thunderbolt: Rework Titan Ridge TMU objection disable function

Now this is split into two with one having a misleading name
(tb_switch_tmu_unidirectional_enable()).

Make this easier to read, rename and consolidate the two functions into
one with name that explains what it actually does. Use the two constants
as well that were added but never used to make it clear which bits are
being set.

No functional changes.

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