Skip to content
Commit f07a3608 authored by Mika Westerberg's avatar Mika Westerberg
Browse files

thunderbolt: Introduce tb_switch_is_icm()



We currently differentiate between SW CM (Software Connection Manager,
sometimes also called External Connection Manager) and ICM (Firmware
based Connection Manager, Internal Connection Manager) by looking
directly at the sw->config.enabled field which may be rather hard to
understand for the casual reader. For this reason introduce a wrapper
function with documentation that should make the intention more clear.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 1c9c5bc5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment